|
|
| XP is just a number | |
| PerlMonks |
Re: Real life uses for closures.by ikegami (Pope) |
| on Feb 14, 2013 at 08:09 UTC ( #1018698=note: print w/ replies, xml ) | Need Help?? |
|
Technically, f is a closure which captures $constant:
Given your mention of state, this is probably not quite what you had in mind when you mentioned "simple C-style 'static' storage".
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||