Welcome to WebmasterWorld Guest from 50.16.126.107

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)

New User

10+ Year Member

joined:Oct 30, 2004
posts:3
votes: 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!

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

Junior Member

10+ Year Member

joined:June 3, 2004
posts:193
votes: 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..
3:57 pm on Nov 1, 2004 (gmt 0)

New User

10+ Year Member

joined:Oct 30, 2004
posts:3
votes: 0


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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 8, 2003
posts:659
votes: 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.
1:40 am on Nov 2, 2004 (gmt 0)

New User

10+ Year Member

joined:Oct 30, 2004
posts:3
votes: 0


I'll look into WebMerge - thank you!
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members