Perl Monk, Perl Meditation | |
PerlMonks |
Re^2: BEGIN and compile-timeby jbert (Priest) |
on Nov 02, 2006 at 11:26 UTC ( [id://581869]=note: print w/replies, xml ) | Need Help?? |
What would I put in @foo?
Nod on the BEGIN{} issues. I'm just used to thinking of run-time versus compile-time overall, but the more correct way is to think of run-time and compile-time as a per-block thing. The outer begin block has its run-time at the script's compile-time. The inner begin block has its run-time at the compile-time of the outer begin block.
Big fleas have little fleas, upon their backs to bite 'em
In Section
Meditations
|
|