in reply to Seeing all the variables in debug mode
Try V or X (quoted from perldebug):
V [pkg [vars]] Display all (or some) variables in package (defaulting to main) us +ing a data pretty-printer (hashes show their keys and values so you s +ee what's what, control characters are made printable, etc.). Make su +re you don't put the type specifier (like $) there, just the symbol n +ames, like this: V DB filename line Use ~pattern and !pattern for positive and negative regexes. This is similar to calling the x command on each applicable var. X [vars] Same as V currentpackage [vars].
You could also try the Perl debugger using a Tk GUI.
emc
Any New York City or Connecticut area jobs? I'm currently unemployed.
There are some enterprises in which a careful disorderliness is the true method.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Seeing all the variables in debug mode
by perllove (Beadle) on Jun 12, 2007 at 14:02 UTC |