(in your CGI file:)use constant SOME_CONSTANT => 1; sub whatever { 123 } 1;
Since use xyz; is equivalent to BEGIN { require xyz }, this loads the included stuff at the right time.use myIncludeFile ();
updated: used bareword form of use (oops!)
In reply to Re: Trying to be stricter...
by bikeNomad
in thread Trying to be stricter...
by Henri Icarus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |