Skip Menu |

This queue is for tickets about the XML-Smart CPAN distribution.

Report information
The Basics
Id: 62091
Status: resolved
Priority: 0/
Queue: XML-Smart

People
Owner: TMHARISH [...] cpan.org
Requestors: BitCard [...] ResonatorSoft.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.6.9
Fixed in: (no value)



Subject: Can't call method "clean" on an undefined value during global destruction.
Keep getting this error message from my error system on Perl: Can't call method "clean" on an undefined value at /usr/perl5/site_perl/5.8.4/XML/Smart.pm line 1098 during global destruction. Not real familiar with Perl OO and object destruction, but it looks like the DESTROY sub isn't checking the existence of $this before trying to call the clean subroutine. You should change it to: $$this->clean if ($this && $$this); Can't find a way to get rid of it on my program, so I'll have to throw away my error messages right before the exit.
Fixed in 1.71 Thank you for your feedback and fix.