Do you know where your variables are? | |
PerlMonks |
Re: perl ooby mirod (Canon) |
on Jan 15, 2001 at 23:33 UTC ( [id://52018]=note: print w/replies, xml ) | Need Help?? |
Your problem is when you get the arguments for new: when you do $obj=Send->new($name); the subroutine gets _2_ arguments: the class name ("Send") amd $name. so the new method should start with my( $class, $user)=@_;
In Section
Seekers of Perl Wisdom
|
|