in reply to
Constant value in anonymous sub
It's called a
closure
. See
perlref
.
Comment on
Re: Constant value in anonymous sub
In Section
Seekers of Perl Wisdom