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.
In reply to Re: why is a 2-argument bless not working in my situation
by tedrek
in thread why is a 2-argument bless not working in my situation
by eXile
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |