in reply to Re^2: foreach - adding newlines?
in thread foreach - adding newlines?
Try this instead:
{ use Data::Dumper; print(Data::Dumper->new( [ $,, $", $\, $/, \@EVENT_ARRAY, \@array, ], [qw( $, $" $\ $/ $EVENT_ARRAY $array )] )->Useqq(1)->Dump()); }
Update: (cf. johngg's reply) I suggested to move the parameters from Dump() to new() — otherwise I left ikegami's code as is. For reference, the original code was:
{ use Data::Dumper; print(Data::Dumper->new()->Useqq(1)->Dump( [ $,, $", $\, $/, \@EVENT_ARRAY, \@array, ], [qw( $, $" $\ $/ $EVENT_ARRAY $array )] )); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: foreach - adding newlines?
by johngg (Canon) on Feb 09, 2009 at 23:09 UTC |