use Storable qw(dclone); # Used for deep copying objects
BEGIN{
- $VERSION = q$0.01SVN$;
+ $VERSION = q$0.03SVN$;
($REVISION) = q$LastChangedRevision$ =~ /\$LastChangedRevision:\s+([^\s+])/;
$DEBUG = 0 unless defined $DEBUG;
}
&{"${subclass}::_destroy"}($self);
};
if ($@) {
- if ($@ !~ /^Undefined function ${subclass}::_destroy at [^\n]*$/){
+ if ($@ !~ /^Undefined subroutine \&${subclass}::_destroy called at [^\n]*$/){
die "Failed while trying to destroy: $@";
}
else {