You can force initialization at compile time by wrapping the assignment in a BEGIN block:
my $FIXED_STRING; BEGIN { $FIXED_STRING = 'fixed_string'; } my %persistent;
In reply to Re: Closure Over Scalar?
by stevieb
in thread Closure Over Scalar?
by QM
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |