|Just another Perl shrine|
Re^5: how to make this perl code runby LanX (Abbot)
|on May 16, 2013 at 21:38 UTC||Need Help??|
> This untested code should work ...
And you think none of us tested this already and we all were too modest to post a code that works???
The parser needs to see the declaration before it parses the barewords.
BEGIN-blocks don't change the parsing order, only the runtime order!
( addicted to the Perl Programming Language)
to be precise BEGIN-Block are run at parsing time, but the parsing order doesn't change. see perlmod