Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Ho wo create single BIG program with all values of variables by parsing a perl program

by jethro (Monsignor)
on Mar 22, 2012 at 12:24 UTC ( #960994=note: print w/replies, xml ) Need Help??


in reply to Ho wo create single BIG program with all values of variables by parsing a perl program

Have you looked at the built-in perl debugger. You can print out all lexical variables with the y command, all non-lexials with V or X. With w you can get a message whenever a specific variable changes its value. You can single-step through the code and automatically do something (like y or V) before each prompt with the '<' command.

Read "perldoc perldebug" and wonder at all the things you can do ;-)

  • Comment on Re: Ho wo create single BIG program with all values of variables by parsing a perl program

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://960994]
help
Chatterbox?
[marto]: good morning all

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2016-12-08 09:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (137 votes). Check out past polls.