Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Re: why is a 2-argument bless not working in my situationby Hofmator (Curate) |
on Mar 31, 2004 at 09:00 UTC ( [id://341256]=note: print w/replies, xml ) | Need Help?? |
However, Perl is not psychic. So, when you see most constructors ending with: bless $self, $class; $self is not modified.This is wrong, $self is modified. Try e.g. this:
-- Hofmator
In Section
Seekers of Perl Wisdom
|
|