homepage Welcome to WebmasterWorld Guest from 54.234.225.23
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Perl Server Side CGI Scripting
Forum Library, Charter, Moderators: coopster & jatar k & phranque

Perl Server Side CGI Scripting Forum

    
Multiple HTML Output Pages?
How to make a perl script output multiple HTML pages
dpenguin




msg:436629
 3:34 pm on Oct 30, 2004 (gmt 0)

I'm wanting to automate my business's domain hosting bills. I want to be able to run a script that outputs the bills in HTML format to my browser, one per page, so I can easily print them.

If this can be done (or if you know an easier way), let me know, please!

 

Zipper




msg:436630
 3:37 pm on Nov 1, 2004 (gmt 0)

as it is, it sounds as if perl is not the only option for you.. what's your backend? meaning where are the billing information located.. in a database, flat files etc..

dpenguin




msg:436631
 3:57 pm on Nov 1, 2004 (gmt 0)

Right now it's in a spreadsheet. I've been doing the invoices separately/manually.

Thanks for answering :)

SlowMove




msg:436632
 11:39 pm on Nov 1, 2004 (gmt 0)

I know that Excel, and similar applications, can output spreadsheets in a tab delineated format where each record is followed by a newline character, and fields in individual records are separated by tabs. This format is commonly used for datafeeds. Once you have your file, you really don't need Perl for this. You can download a free trial version of WebMerge that will allow you to process 20 pages at a time. If you need more than 20 at a time, the registered version will cost you about 100 USD. Perl is really the king for sort of thing, but there is a learning curve, and there are various flavors of templating systems. The two most popular seem to be Mason and the Perl Template Toolkit.

dpenguin




msg:436633
 1:40 am on Nov 2, 2004 (gmt 0)

I'll look into WebMerge - thank you!

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Perl Server Side CGI Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved