I don't see where you've defined sub new for the class. Here's a modest general-purpose one:
The object is a hashref blessed into the package which calls it. It's initialized with a hashlike list, same as an ordinary %hash.# in the Module::Name package sub new { my $class = shift; bless {@_}, $class; }
After Compline,
Zaxo
In reply to Re: It is not an array!
by Zaxo
in thread It is not an array!
by hardburn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |