Hello Monks,
I just posted an issue on cpan for CGI::Application which may save somebody some head-banging.
Version 3.1 now has a hook called cgiapp_postrun which is an output filter. However, the sample code in the pod doesn't work at least not in perl 5.8/redhat 9
(v.5.8.0 for i386-linux-thread-multi with patch MAINT18379, says perl -V).
Old Line: $output_ref = \$new_output; # Bad
New Line: $$output_ref = $new_output; # Works for me
Aside from this I recommend it! Now building something with CGI::Application, HTML::Template, Mysql and Class::DBI and already it is feeling nice and clean. Definitely the new mysqlcc gui app is pretty nice too.
Enjoy Summer!
Matt R.
2003-06-08 edit ybiC: format with <p> and <code> tags for legibility
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.