Welcome to the Monastery | |
PerlMonks |
Re^2: What is the scope of BEGIN? Or... when does it "begin?"by Mutant (Priest) |
on May 06, 2005 at 08:38 UTC ( [id://454627]=note: print w/replies, xml ) | Need Help?? |
See tlm's reply above. use is impicitly wrapped in a BEGIN. And since BEGIN's have no precedence over each other, your second example is effectively:
(I left out 'use strict' for simplicity's sake).
In Section
Seekers of Perl Wisdom
|
|