Perl: the Markov chain saw | |
PerlMonks |
Re: Tiny Perl puzzleby tobyink (Canon) |
on Jun 05, 2014 at 22:19 UTC ( [id://1088935]=note: print w/replies, xml ) | Need Help?? |
<Reveal this spoiler or all in this thread>
Good puzzle. This sort of thing is precisely the reason various best practices have arisen.
use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name
In Section
Meditations
|
|