P is for Practical | |
PerlMonks |
Re: "require" bug?by Corion (Patriarch) |
on Nov 03, 2014 at 13:55 UTC ( [id://1105899]=note: print w/replies, xml ) | Need Help?? |
Have you read the documentation for use and require? That documentation explains the difference you observe in your update. You may want to read perlmod about BEGIN, UNITCHECK, CHECK, INIT and END to find out what phases run when.
In Section
Seekers of Perl Wisdom
|
|