![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re: Variable number of foreach loopsby tobyink (Canon) |
on Nov 27, 2013 at 14:34 UTC ( #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
|
|