in reply to sub running on use statement
The whole module is evaled, so if anything is written outside a 'sub', it will be executed imidiately after "use ScrewyModule" happend.
If this doesn't help, try raising a warning instead of printing. Try showing the call-chain to isolate where it origins. (see Carp )
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: sub running on use statement
by Anonymous Monk on Dec 02, 2014 at 17:14 UTC | |
by AnomalousMonk (Archbishop) on Dec 02, 2014 at 19:32 UTC | |
by LanX (Saint) on Dec 02, 2014 at 22:19 UTC | |
by LanX (Saint) on Dec 03, 2014 at 00:32 UTC |