Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Non-standard options to tags for CGI.pm

by $code or die (Deacon)
on Jan 11, 2002 at 21:02 UTC ( [id://138051]=note: print w/replies, xml ) Need Help??


in reply to Non-standard options to tags for CGI.pm

I wouldn't use CGI for the HTML generation, but that's just my preference. I prefer to use Templates. You could store the template as a scalar or in <DATA> if you don't want the seperate file.I would use either HTML::Template or Template Toolkit.

Although if I wanted to output both to Excel and to HTML, I would probably have seperate routines to display in HTML and Excel rather than use Excel's HTML output (but then I don't know what you're doing so maybe I would do it that way). I'd probably try out Spreadsheet::WriteExcel or one of its relations. Spreadsheet::WriteExcel runs on non-Windows machines.

Searching CPAN also reveals Spreadsheet::ParseExcel_XLHTML, which looks interesting. Check out xlhtml.org

Just my 2 pennys worth.

Simon Flack ($code or die)
$,=reverse'"ro_';s,$,\$,;s,$,lc ref sub{},e;$,
=~y'_"' ';eval"die";print $_,lc substr$@,0,3;
  • Comment on Re: Non-standard options to tags for CGI.pm

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://138051]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-05-26 05:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found