Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k & phranque

Message Too Old, No Replies

Multiple HTML Output Pages?

How to make a perl script output multiple HTML pages



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

10+ Year Member

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!


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

10+ Year Member

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..


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

10+ Year Member

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

Thanks for answering :)


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

WebmasterWorld Senior Member 10+ Year Member

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.


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

10+ Year Member

I'll look into WebMerge - thank you!

Featured Threads

Hot Threads This Week

Hot Threads This Month