As you well know, when you require a file, the code in the file is executed.
Is it?
executes "foo.pl" at most once, although it is required 10 times.for (1 .. 10) { require "./foo.pl"; }
Abigail
In reply to Re: Passing a required script arguments
by Abigail-II
in thread Passing a required script arguments
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |