Welcome to the Monastery | |
PerlMonks |
Re: Of moose and ducks (or: how to coerce from non-Moose type objects)by stvn (Monsignor) |
on Jan 08, 2011 at 00:59 UTC ( [id://881184]=note: print w/replies, xml ) | Need Help?? |
You could have also done this ... Moose class types are not restricted to Moose created classes, you can make one for any plain old Perl class. Of course the version you have is more flexible, assuming you know you can trust the seq method.
-stvn
In Section
Meditations
|
|