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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2014-07-25 11:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (170 votes), past polls