in reply to A Bad Day to OOP :(
That sets $class to 1, the LENGTH of @_.my $class = @_;
You meant to type
ormy ($class) = @_;
my $class = shift;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: You're going to kick yourself...
by JojoLinkyBob (Scribe) on Apr 10, 2002 at 16:54 UTC |