in reply to calling new inside the same module?
If you call the new subroutine, you need to give it a proper first argument:
push @{ $self->{ stored } }, $self->new( $it );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: calling new inside the same module?
by Discipulus (Canon) on Nov 26, 2018 at 13:04 UTC | |
by Corion (Patriarch) on Nov 26, 2018 at 13:13 UTC | |
by Your Mother (Archbishop) on Nov 26, 2018 at 16:20 UTC | |
by tobyink (Canon) on Nov 26, 2018 at 19:10 UTC |