in reply to Re^2: References for ano subs fixed at compile time? (nope)
in thread References for ano subs fixed at compile time?
Nope it doesn't matter if there are closed over variables, unfortunately you loose your bet...
To quote myself, with emphasis added:
If subs close over lexicals (or represent different code)
"sub {1}" and "sub {2}" are two different subroutines, even when you use prototypes to make the "sub" keyword implied rather than explicit.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: References for ano subs fixed at compile time? (nope)
by LanX (Saint) on Jun 18, 2013 at 22:14 UTC | |
by tye (Sage) on Jun 18, 2013 at 22:59 UTC | |
by LanX (Saint) on Jun 19, 2013 at 00:30 UTC |