in reply to Scripts with only sub-routines?
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).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Scripts with only sub-routines?
by Fletch (Bishop) on Mar 24, 2008 at 20:51 UTC |