in reply to
Can I add methods to an existing object?
Yes, but this is normally done using inheritance, roles (
Class::Role
,
Class::Trait
) or a wrapper class.
Comment on
Re: Can I add methods to an existing object?
In Section
Seekers of Perl Wisdom