NAME

Data::Dumper::Lazy - Easily dump variables with names

SYNOPSIS

use Data::Dumper::Lazy;
@a = 1..5;
dmp {@a};

DESCRIPTION

THIS MODULE IS UNDER CONSTRUCTION

This module allow the user to dump variables in a Data::Dumper format.

Unlike the default behavior of Data::Dumper, the variables are named (instead of $VAR1, $VAR2, etc.) Data::Dumper provides an extended interface that allows the programmer to name the variables, but this interface requires a lot of typing and is prone to typos (sic). (paragraph copied from Data::Dumper::Simple's abstract)

The variables have to be passed within a code-block i.e. surrounded by curlies. Their names are gathered by inspecting the op-tree the block's op-tree with the help of B::Deparse.

This avoids the limitations of Data::Dumper::Simple (using Source Filter) and Data::Dumper::Names (using PadWalker).

USAGE

use Data::Dumper::Lazy;

BUGS

Please report any bugs or feature requests to bug-data-dumper-lazy@rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Data-Dumper-Lazy. I will be notified, and then you'll automatically be notified of progress on your bug as I make chang�es.

SUPPORT

AUTHOR

Rolf Michael Langsdorf
CPAN ID: LanX
Darmstadt PM
lanx@cpan.org
http://www.perlmonks.org/?node=LanX

COPYRIGHT

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

SEE ALSO

perl(1).