[H-GEN] Perl Novitiates (was: CGI Troubles.)

Christopher Biggs chris at stallion.oz.au
Tue May 15 03:08:18 EDT 2001


[ Humbug *General* list - semi-serious discussions about Humbug and  ]
[ Unix-related topics.  Please observe the list's charter.           ]
[ Worthwhile understanding: http://www.humbug.org.au/netiquette.html ]

Anthony Towns <aj at azure.humbug.org.au> moved upon the face of the 'Net and spake thusly:

> On Tue, May 15, 2001 at 11:09:19AM +1000, Jason Parker wrote:
> >   use CGI qw/:standard :netscape/;
> > 
> >   print header,
> >     start_html('This is how one writes CGI scripts in perl'),
>                                        ^^^
> 
> ITYM, 'This is how one writes slow cumbersome CGI scripts in perl'.

When I write web apps using CGI.pm I load the bits for the stateful
form processing and other cool jobs, and blow off the unnecessary
bloat for headers, anchors etc (which are better done using "here
documents").

--cjb

-- 
 Christopher J Biggs \ chris at stallion.oz.au \ Vice-Pope Torture & Indulgences
 Stallion Technologies\ Brisbane,  Australia \   Holy Church of Givashitology
 nordfordfnrdfnodfnorfnordnordfordfnrdfnodfnorfnordnordfordfnrdfnodfnorfnordn

--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.



More information about the General mailing list