![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re: Stuck on packagesby mreece (Friar) |
on Jan 04, 2007 at 06:38 UTC ( #592889=note: print w/replies, xml ) | Need Help?? |
try my $class = shift; or my ($class) = @_;, but the above is assigning the 'length' of @_ (probably 1) to $class, so your objects aren't being properly blessed. (there are other problems with the code, see other responses, don't expect this comment to solve everything)
In Section
Seekers of Perl Wisdom
|
|