in reply to Re^2: XML::Twig newbie question
in thread XML::Twig newbie question
Another way would be to make the subroutine curried (that is expecting to get the parameters separately, not all at once):
Sure, you could write your closure that way ( the schönfinkeling way), but it gains you nothing in this example, it just takes a little more memory
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: XML::Twig newbie question
by Jenda (Abbot) on Sep 18, 2012 at 10:57 UTC |
In Section
Seekers of Perl Wisdom