good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: simple OO constructorby japhy (Canon) |
on Sep 23, 2001 at 01:43 UTC ( [id://114097]=note: print w/replies, xml ) | Need Help?? |
Some people think $obj->new is "wrong". Regardless, I'd shrink the constructor to:
_____________________________________________________
In Section
Cool Uses for Perl
|
|