Some details would help here. Without having a look at what you have, I can only guess.
Modules that you use can execute code.
A sub BEGIN is actually a block that runs without being called, if you have any of those. See perlmod for more info and other blocks that might act this way.
You speak of some variable settings. Something like "my $host = `hostname` is actually executing the hostname shell command (note the backticks, not single quotes).
In reply to Re: Scripts with only sub-routines?
by kyle
in thread Scripts with only sub-routines?
by kehansen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |