laziness, impatience, and hubris | |
PerlMonks |
Re: Variable number of foreach loopsby tobyink (Canon) |
on Nov 27, 2013 at 14:34 UTC ( [id://1064628]=note: print w/replies, xml ) | Need Help?? |
List::MapMulti should do the trick.
use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name
In Section
Seekers of Perl Wisdom
|
|