Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
With this simple code:
Is there a way to print the resulf of Data::Dumper in horizontal way? Like this:
With this simple code:
perl -MData::Dumper -e '@arr = qw (a b c); print Dumper \@arr'
Is there a way to print the resulf of Data::Dumper in horizontal way? Like this:
instead of$VAR1 = ['a','b','c'];
Since it makes life easier to compare the result. I hope this is a reasonable question. Thanks$VAR1 = [ 'a', 'b', 'c' ];
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Pretty Printing with Data::Dumper
by Ovid (Cardinal) on Sep 09, 2005 at 03:58 UTC | |
by biosysadmin (Deacon) on Sep 09, 2005 at 07:43 UTC | |
Re: Pretty Printing with Data::Dumper
by pg (Canon) on Sep 09, 2005 at 04:13 UTC | |
Re: Pretty Printing with Data::Dumper
by demerphq (Chancellor) on Sep 09, 2005 at 11:34 UTC | |
Re: Pretty Printing with Data::Dumper
by osunderdog (Deacon) on Sep 09, 2005 at 11:41 UTC | |
Re: Pretty Printing with Data::Dumper
by halley (Prior) on Sep 09, 2005 at 12:11 UTC | |
Re: Pretty Printing with Data::Dumper
by planetscape (Chancellor) on Sep 09, 2005 at 18:24 UTC | |
Re: Pretty Printing with Data::Dumper
by ambrus (Abbot) on Sep 09, 2005 at 09:37 UTC |
Back to
Seekers of Perl Wisdom