"be consistent" | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
This "works", but be very aware you're breaking a fundamental tenet of OO (encapsulation) by doing so. And by so sinning you're lining yourself up for the inevitable great vengance and furious anger which will rain down upon you (c.f. Ezekiel 25:17) when the module author decides that mauve has more RAM and changes to inside-out objects in a subsequent release and whatever hack you came up with depending on the prior internal implementation breaks. Fine for pedagogical exploration; never do this in real code.
The cake is a lie. In reply to Re^2: Can a Perl module "inspect" itself and provide details about methods and parameters?
by Fletch
|
|