Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: Real life uses for closures.by DrHyde (Prior) |
on Feb 13, 2013 at 12:00 UTC ( [id://1018528]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|