Perl-Sensitive Sunglasses | |
PerlMonks |
Re: use the CGI.pm module only when script is used by a browserby ivey (Beadle) |
on Jun 06, 2000 at 07:09 UTC ( [id://16542]=note: print w/replies, xml ) | Need Help?? |
The easy way: strip the code from the CGI into a function library, and require it from both the CGI and the command-line version. should be 3 minutes of effort.
The better way: either way will work well.
In Section
Seekers of Perl Wisdom
|
|