Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 about the Monastery: (5)
As of 2014-12-28 23:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (183 votes), past polls