> On Thu, 6 Dec 2001, Lanceo wrote:
>
> > Is there a way to insert a statement into a perl script that will show the
> > values of all of your variables? Other than using a massive collection of
> > print statements. ie In a Unix shell script if you, at any time use
> > 'set -x' all of the variables are printed to the screen. Is there maybe a
> > big hash table (sort of like %ENV) that I can just cycle through the keys
> > and spit out the variable values that I am using?
> > I understand that with the perl debugger you can place a watch on variables,
> > and with some of the IDEs you can hover and see what a variable is holding
> > at any time (VERY cool..) but I cannot use either, as I am developing perl
> > scripts for a proprietary type of perl. Trying to run the debugger on the
> > scripts with the special tags just gives me errors, so I have been doing
> > alot of prnt "thisvar - $thisVar\n"; and my fingers are sore!!! ;-)
BTW, you can use the DB module to do customized debugging in your program.
Probably not something to do if you're a beginner. The perldoc says it's
experimental code...
-- Brett
http://www.chapelperilous.net/
------------------------------------------------------------------------
But, for my own part, it was Greek to me.
-- William Shakespeare, "Julius Caesar"
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]