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].

Note that I rarely use either.

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.

—Herman Melville

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
    Thanks for the reply. But I am not out of my problem. When I do this X ~$(.*) I get only some variables. i.e variables in the current package. Sorry, I dont know about jobs, I am a college student.