Data::Dumper::Simple 0.07

Ovid on 2005-05-20T01:33:15

Thanks to a patch from Tom Phoenix, Data::Dumper::Simple 0.07 is on its way to the CPAN. This is an attempt to make parentheses optional:

use Data::Dumper::Simple;
print Dumper $scalar, @array, %hash;
__END__         
$scalar = 'Ovid';
@array = (
           'Data',
           'Dumper',
           'Simple',
           'Rocks!'
         );
%hash = (
          'it' => 'does',
          'I' => 'hope',
          'at' => 'least'
);

I also fixed a little known bug which would trigger indirect method syntax with some subroutines, most notably with &Test::More::diag. Previously, you had to use the parens with diag, now you don't.

diag(Dumper $foo, @bar);
diag Dumper $foo, @bar; # same thing