jcpunk has asked for the wisdom of the Perl Monks concerning the following question:
What I desire to know is will these instructions transfer to all of my scripts (passively) just by requireing this library or do I need to explitly call them in the script to have them take effect?$| = 1; #clear buffer $CGI::POST_MAX=1024*10; # maximum data to accept in one post reques +t is 10k, prevent buffer overflow $CGI::DISABLE_UPLOADS = 1; # make sure that no data can be temporarily + stored on the server delete @ENV{ qw(IFS CDPATH ENV BASH_ENV) }; # remove environmental inf +ormation $ENV{PATH}=""; # make PATH defined to prevent undef errors $ENV{CDPATH}=""; # make CDPATH defined to prevent undef errors $ENV{ENV}=""; # make ENV defined to prevent undef errors $ENV{BASH_ENV}=""; # make BASH_ENV defined to prevent undef error +s
thanks again for all of your assistence
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: inheritence and librarys
by Mr. Muskrat (Canon) on Jun 12, 2003 at 16:04 UTC |