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.
| [reply] [d/l] [select] |
| [reply] [d/l] [select] |
Hmm. Last I looked, the x operation does drill down into the reference structure, following it as far as it can. What did you try that didn't work?
-- Randal L. Schwartz, Perl hacker | [reply] |
I tried to view a DBI statment handle object. I got nothing. I was able to view arrays and hashes however. I really want to see (if possible) object structures however. I'll give the Data Dumper thing a try too.
_______________________________________________
"Intelligence is a tool used achieve goals, however goals are not always chosen
wisely..."
| [reply] |
x tied %$sth
in the debugger. But I don't really understand what you think
you're going to accomplish by looking into the internals of
the DBI object---it's unlikely that you will find
anything there that you can 'debug'.
For most ordinary objects, you will not have to do this.
The x command will do what you want.
| [reply] [d/l] |