Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by $code or die (Deacon)
on Jan 11, 2002 at 21:02 UTC ( #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? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2021-10-17 20:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (72 votes). Check out past polls.

    Notices?