We don't bite newbies here... much | |
PerlMonks |
Re: why is a 2-argument bless not working in my situationby tedrek (Pilgrim) |
on Mar 31, 2004 at 01:27 UTC ( [id://341168]=note: print w/replies, xml ) | Need Help?? |
Your new method is being called as a class method, therefore the class is the first argument rather than the second. ie, the class is in $self.
I tried to swear at perl and it compiled!
In Section
Seekers of Perl Wisdom
|
|