Welcome to the Monastery | |
PerlMonks |
Re: A first attempt.. at OO perlby tinita (Parson) |
on Jul 02, 2008 at 14:30 UTC ( [id://695139]=note: print w/replies, xml ) | Need Help?? |
please never use the one-argument-form of bless. always bless into the $class you got as an argument to new. otherwise it's impossible to inherit from your class. update: as rir /msgd me, of course you can inherit, but not from the constructor
In Section
Meditations
|
|