If you call the new subroutine, you need to give it a proper first argument:
push @{ $self->{ stored } }, $self->new( $it );
In reply to Re: calling new inside the same module?
by Corion
in thread calling new inside the same module?
by Discipulus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |