diff options
Diffstat (limited to 'Xerl/Base.pm')
| -rw-r--r-- | Xerl/Base.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Xerl/Base.pm b/Xerl/Base.pm index 9bb3d7f..043487b 100644 --- a/Xerl/Base.pm +++ b/Xerl/Base.pm @@ -43,6 +43,7 @@ sub exists($$) { sub AUTOLOAD { my UNIVERSAL $self = $_[0]; my $auto = our $AUTOLOAD; + return $self if $auto =~ /DESTROY/; if ( $auto =~ /.*::set_(.+)$/ ) { |
