in reply to Debugging Complex Structures

One thind you might try it to get the Data::Dumper module. Then in the debugger, enter the command:
use Data::Dumper;
Now you can print out the value of a variable by using
p Dumper($var)
If you don't like the x format, you might like this better. Data::Dumper has a lot of options for controlling the way the output looks. See the manual for modre details.