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

thrig - Jeremy Mates (cpan:JMATES) <jmates at cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2013,2015 by Jeremy Mates

This module is free software; you can redistribute it and/or modify it under the Artistic License (2.0).