The problem is nowhere near that line. Notice the "during global destruction". That means your data structure survived past the end of the program. At that point, Perl needs to use extraordinary measures to destroy the remaining variables, so variables aren't necessarily freed in the right order. That's what happened here, and that's why you're getting the warning.
Your data structure was stored in a global variable or it was leaked. If it's the former, undefine the global variable before exiting. It's the latter, you'll have to hunt down the memory leak. I believe there are tools in the Devel:: namespace to help you find memory cycles and memory leaks.
In reply to Re: Warning from XML/Twig.pm : Use of uninitialized value in numeric eq (==)
by ikegami
in thread Warning from XML/Twig.pm : Use of uninitialized value in numeric eq (==)
by jthomas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |