[NBLUG/talk] CGI programming memory lapse

Eric Eisenhart eric at nblug.org
Mon Jun 5 12:54:17 PDT 2006


On Mon, Jun 05, 2006 at 12:45:13PM -0700, Troy Arnold wrote:
> The easiest way is:
> 
> use CGI;
> 
> $q = new CGI;
> print $q->header;
> print $q->param('foo');

That's the way I'd go for most programs, but I'd suggest that this might be
easier:

use CGI qw/:standard/;

print header,
      param('foo');
-- 
Eric Eisenhart
NBLUG Co-Founder, Scribe and InstallFest Coordinator
The North Bay Linux Users Group -- http://nblug.org/
eric at nblug.org, IRC: Freiheit at fn AIM: falschfreiheit



More information about the talk mailing list