Perl: the Markov chain saw | |
PerlMonks |
Re: Mouse as prelude to Moose?by metaperl (Curate) |
on Feb 05, 2009 at 16:41 UTC ( [id://741598]=note: print w/replies, xml ) | Need Help?? |
hmm that's cute, you can mis-spell 'is' and the code still works:
UPDATE it's not that it works because the accessor is not actually formed. It's just no error is thrown. Just put a call to $m->y and you will see Can't locate object method "y" via package...
In Section
Seekers of Perl Wisdom
|
|