Just another Perl shrine | |
PerlMonks |
Re: Closure Over Scalar?by stevieb (Canon) |
on Feb 18, 2021 at 16:33 UTC ( [id://11128528]=note: print w/replies, xml ) | Need Help?? |
You can force initialization at compile time by wrapping the assignment in a BEGIN block:
In Section
Seekers of Perl Wisdom
|
|