Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: Warning while using ternary operatorby tobyink (Canon) |
on Dec 17, 2013 at 11:51 UTC ( [id://1067460]=note: print w/replies, xml ) | Need Help?? |
Though that would be a hell of a lot more readable as:
use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name
In Section
Seekers of Perl Wisdom
|
|