in reply to Re: (crazyinsomniac) Re: Critique my First Script for me?
in thread Critique my First Script for me?
use CGI; is all you need if you are using the OO interface (that's when you do my $q = CGI->new;). The 'qw/:standard/' part imports function names so that you don't need the $q variable and lets you, e.g., say 'param($field)' instead of '$q->param($field)', which makes it a little more of a hassle, but I don't like to import anything I don't have to, and sometimes you might need to create more than one CGI object, and so in that case the OO way is the only way to go.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: (crazyinsomniac) Re: Critique my First Script for me?
by blakem (Monsignor) on Sep 22, 2001 at 03:35 UTC | |
by runrig (Abbot) on Sep 22, 2001 at 03:46 UTC |