Charlie Harvey
Member since Feb 23, 2012
- Profile: /members/9656-charlie-harvey.htm
- URL: http://charlieharvey.org.uk
- Comments: 1
Recent Blog Comments By Charlie Harvey
-
Seven Languages In Seven Weeks By Bruce Tate - What An Adventure
Posted on Feb 23, 2012 at 1:16 PM
Just to prove that there's always more than one way to do it in perl, here's an implementation that creates a list of anonymous subroutines in a function called gen and then returns and dispatches them. sub gen { $a=shift; &{say "$_ is so $a"} for (@_); } $_->() for(@{gen... read more »