In addition to what Corion already said, this is an option–
push @{ $self->{ stored } }, __PACKAGE__->new( $it );Seems like an odd code design though. The container type is the contained type.
In reply to Re^3: calling new inside the same module?
by Your Mother
in thread calling new inside the same module?
by Discipulus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |