That sets $class to 1, the LENGTH of @_.my $class = @_;
You meant to type
ormy ($class) = @_;
my $class = shift;
In reply to You're going to kick yourself...
by RMGir
in thread A Bad Day to OOP :(
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |