How do I control the whitespace in Perl's Data::Dumper?

458 Views Asked by At

For Data::Dumper, we have options for indentation:

$Data::Dumper::Indent = 1;

I don't prefer 2 or 3. In option 1, it was 2 whitespace added. Can I change?

1

There are 1 best solutions below

0
ikegami On

No. $Data::Dumper::Indent and $Data::Dumper::Terse are the only means of controlling the indenting.