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!!! ;-)

A proprietary type of Perl?

-- Brett
                                          http://www.chapelperilous.net/
------------------------------------------------------------------------
If it weren't for the last minute, nothing would ever get done.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to