No such thing as a small change | |
PerlMonks |
Re: each functionby tobyink (Canon) |
on Jun 03, 2014 at 17:27 UTC ( [id://1088469]=note: print w/replies, xml ) | Need Help?? |
There are very good reasons to avoid using each entirely.
use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name
In Section
Seekers of Perl Wisdom
|
|