NAME

Data::Dumper::Concise::Aligned - even less indentation plus string prefix

SYNOPSIS

use Data::Dumper::Concise::Aligned;
warn DumperA This => \@something, That => \@otherthing;

DESCRIPTION

Like Data::Dumper::Concise except with even less indentation, and string prefixing of the wrapped-as-necessary output. Used in particular to look at data that needs to be shown in as compact a manner as possible for easy vertical comparison, for example:

S [[2,2,1,2,2,2,1],[1,2,2,2,1,2,2]]
D [[2,1,2,2,2,2,1],[2,2,1,2,2,1,2]]

This could possibly be done via DumperF of Data::Dumper::Concise, but that's more typing, and not exactly the string prefix handling I wanted.

In vi type editors, an ab configuration along the lines of the following can expand out to include the desired Dumper routine:

ab PUDD use Data::Dumper::Concise; warn Dumper
ab PUCC use Data::Dumper::Concise::Aligned; warn DumperA

AUTHOR

Jeremy Mates, <jmates@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2013 by Jeremy Mates

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.16.1 or, at your option, any later version of Perl 5 you may have available.