my $glob = eval "*" . ref($obj) . "\::DESTROY"; my $save = *$glob{CODE}; my $newsub = sub { warn("NEW DESTROY CALLED\n"); goto &$save }; no strict; *{ref($obj) . "\::DESTROY"} = $newsub; use strict;
In reply to Re: Are array based objects fixed length?
by cephas
in thread Are array based objects fixed length?
by pdcawley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |