P is for Practical | |
PerlMonks |
Re: adding singleton methods to objectsby merlyn (Sage) |
on Jun 04, 2009 at 15:17 UTC ( [id://768467]=note: print w/replies, xml ) | Need Help?? |
Or, just look at Class::Prototyped, a full-featured, mature (used in production) solution of this. There are likely also some MooseX:: modules that implement prototype-based behavior as well.
-- Randal L. Schwartz, Perl hacker The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
In Section
Cool Uses for Perl
|
|