package MyObject; my @MASTER_LIST; sub new { my $pkg = shift; my $self = {}; bless $self, $pkg; push(@MASTER_LIST, $self); return $self; }
In reply to Re: Allowing object destruction even with an
by Fastolfe
in thread Allowing object destruction even with an
by Fastolfe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |