Re: Getting a list of all current variables in a Perl program



John W. Krahn wrote:

James E Keenan wrote:


1. Are there any better ways to approach this problem? 2. In addition to package variables, how can I get a list of the lexical variables declared at a given point in a program? (I think this means the content of the scratchpad(s)?)


perldoc B::Xref
perldoc B::Showlex

Those look helpful and I will check them out today.  Thanks, John!

jimk
.