in reply to package variables turning suddenly to undef and back again depending on subfunction call

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,

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,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

  • Comment on Re: package variables turning suddenly to undef and back again depending on subfunction call
  • Select or Download Code

Replies are listed 'Best First'.
Re^2: package variables turning suddenly to undef and back again depending on subfunction call
by tobias_hofer (Friar) on Feb 26, 2013 at 07:52 UTC

    I have tested it with print statements, it seems its a problem with the eclipse-plugin or the debugger because values are not undef. :-)

    Thanks a lot!
    Tobias