Data-Dumper-Compact
view release on metacpan or search on metacpan
Default: "length($self->indent_by)"
transforms
Set of transforms to apply on every "dump" operation. See "transform"
for more information.
Default: "[]"
dumper
The dumper function to be used for dumping things DDC doesn't
understand, such as coderefs, regexprefs, etc.
Defaults to the same options as Data::Dumper::Concise (which is, itself,
only a Data::Dumper configuration albeit it comes with Devel::Dwarn
which is rather more interesting) - although on top of that we add a
little bit of extra cleverness to make B::Deparse use the correct
indentation, since for some reason Data::Dumper doesn't (at the time of
writing) do that.
If you supply it yourself, it needs to be a single argument coderef -
you could for example use "\&Data::Dumper::Dumper" though that would
lib/Data/Dumper/Compact.pm view on Meta::CPAN
=head2 transforms
Set of transforms to apply on every L</dump> operation. See L</transform>
for more information.
Default: C<[]>
=head2 dumper
The dumper function to be used for dumping things DDC doesn't understand,
such as coderefs, regexprefs, etc.
Defaults to the same options as L<Data::Dumper::Concise> (which is, itself,
only a L<Data::Dumper> configuration albeit it comes with L<Devel::Dwarn>
which is rather more interesting) - although on top of that we add a little
bit of extra cleverness to make L<B::Deparse> use the correct indentation,
since for some reason L<Data::Dumper> doesn't (at the time of writing) do
that.
If you supply it yourself, it needs to be a single argument coderef - you
could for example use C<\&Data::Dumper::Dumper> though that would almost
( run in 0.693 second using v1.01-cache-2.11-cpan-0bb4e1dffa6 )