No such thing as a small change | |
PerlMonks |
Re: My first attempt to design a moduleby doug (Pilgrim) |
on Oct 04, 2010 at 13:38 UTC ( [id://863342]=note: print w/replies, xml ) | Need Help?? |
You have the snippet
which I do a bit differently.
because I like to allow for $something->new(...)where $something can be a string (class name) or an existing object. The existing object bit is especially handy when creating a clone. - doug
In Section
Seekers of Perl Wisdom
|
|