in reply to Inlining a "lexically-scoped scalar which has no other references"
# same as 'use constant FOO => 10' BEGIN { my $lex = 10; *FOO = sub () { $lex }; }
Dave.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Inlining a "lexically-scoped scalar which has no other references"
by BrowserUk (Patriarch) on Sep 28, 2009 at 04:57 UTC | |
by ikegami (Patriarch) on Sep 28, 2009 at 05:21 UTC | |
by BrowserUk (Patriarch) on Sep 28, 2009 at 10:11 UTC | |
by ikegami (Patriarch) on Sep 28, 2009 at 14:20 UTC | |
by LanX (Saint) on Sep 28, 2009 at 12:32 UTC |