in reply to Re: Real life uses for closures.
in thread Real life uses for closures.
Oh, and if you want something really closurey, Sort::MultipleFields. There's no clean way of doing what that does without using closures.
The other obvious approach to that problem is to build some code using eval. In fact, I find that you can almost always replace eval with a closure.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Real life uses for closures.
by tobyink (Canon) on Feb 13, 2013 at 13:14 UTC | |
by DrHyde (Prior) on Feb 18, 2013 at 11:54 UTC | |
by tobyink (Canon) on Feb 18, 2013 at 20:20 UTC |
In Section
Seekers of Perl Wisdom