On Wed, 2008-08-27 at 15:55 +0100, Pat Rice wrote:
> Hi ya
> I put mine in if statements, then you can turn them of and on globally
> 
> if(debug == 1){
> print "$bla"
> }

Use Data::Dumper to see all levels of a variable:

use Data::Dumper;

print '%var : ', Dumper \%var if $debug == 1;


-- 
Just my 0.00000002 million dollars worth,
  Shawn

"Where there's duct tape, there's hope."
        Cross Time Cafe

"Perl is the duct tape of the Internet."
        Hassan Schroeder, Sun's first webmaster


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to