Dr.Ruud wrote:
> Shawn H Corey wrote:
> 
>> use Data::Dumper;
>>
>> # Make Data::Dumper pretty
>> $Data::Dumper::Sortkeys = 1;
>> $Data::Dumper::Indent   = 1;
>>
>> # Set maximum depth for Data::Dumper, zero means unlimited
>> $Data::Dumper::Maxdepth = 0;
> 
> Variant:
> 
> use Data::Dumper;
> {package Data::Dumper;our($Indent,$Sortkeys,$Terse,$Useqq)=(1)x4}
> 
> (the default of Mapdepth is 0)
> 

True, but if I put it at the top of all my programs, I set it by copy &
paste without having any spelling mistakes.  :D


-- 
Just my 0.00000002 million dollars worth,
  Shawn

Programming is as much about organization and communication
as it is about coding.

I like Perl; it's the only language where you can bless your
thingy.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to