Doing a print in the debugger is also giving me nothing -> undef.
Before anything else: Turn off the debugger, and put (ordinary Perl) print statements, showing the values of the package globals,
- immediately before the call to ResolveContainers
- on entry to ResolveContainers
- immediately before the 2 return statements in ResolveContainers
- immediately following the return of sub ResolveContainers within sub ProcessContainers.
If the variables still go from defined to undef and back, there is a bug in the Perl script. But if the variables keep their correct values, there is simply a bug in the Eclipse-Debugger.
Hope that helps,