in reply to Re(5): Toggling between two values
in thread Toggling between two values
Would you say that &bar is a closure?Yes, it is, according to the standard definition. OTOH, there needs to be a term for "subroutine which is created at run time via the sub operator and thus may have bindings to lexicals which outlive the names of those lexicals"...
jdporter
The 6th Rule of Perl Club is -- There is no Rule #6.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re(7): Toggling between two values
by chip (Curate) on May 07, 2003 at 21:08 UTC |
In Section
Seekers of Perl Wisdom