Perl: the Markov chain saw | |
PerlMonks |
Re^3: Error with require LABEL;by jethro (Monsignor) |
on Dec 20, 2013 at 21:49 UTC ( [id://1067993]=note: print w/replies, xml ) | Need Help?? |
require() skips loading the second time because it records internally which file it already has loaded and therefore doesn't need to load again. This is because require was used to load libraries in early perl versions. Later use() replaced require() because it does much more. But using require to start other scripts is definitely not as intended. As you have experienced.
In Section
Seekers of Perl Wisdom
|
|