# same as 'use constant FOO => 10' BEGIN { my $lex = 10; *FOO = sub () { $lex }; }
Dave.
In reply to Re: Inlining a "lexically-scoped scalar which has no other references"
by dave_the_m
in thread Inlining a "lexically-scoped scalar which has no other references"
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |