[NBLUG/talk] CGI programming memory lapse
Troy Arnold
troy at zenux.net
Mon Jun 5 13:10:07 PDT 2006
On Mon, Jun 05, 2006 at 01:01:10PM -0700, Chris Palmer wrote:
> Troy Arnold writes:
>
> > use CGI;
> >
> > $q = new CGI;
> > print $q->header;
> > print $q->param('foo');
>
> Looks like you've got a few typos and misspellings in there. For
> example, you spelled "#!/usr/bin/perl -T\n\nuse warnings;\nuse strict\n"
> as "". You also omitted the crucial "sanitize_input" keyword.
Nice. I'll have to borrow that one. I actually prefer programming in PHP
with register_globals on. Can't get much easier than that. ;)
-Troy 'use strict' Arnold
More information about the talk
mailing list