NAME

Dancer::Plugin::DebugDump - dump objects to debug log with Data::Dumper

DESCRIPTION

Provides a debug_dump keyword, which takes an optional label and an object or reference to dump, and calls Dancer's debug keyword after dumping the object / reference with Data::Dump.

Allows quick and easy debugging by dumping stuff to your log/console.

SYNOPSIS

use Dancer::Plugin::DebugDump;

debug_dump("My nice object" => $object);
debug_dump("My hash" => \%hash);
debug_dump($anotherref);

AUTHOR

David Precious, <davidp at preshweb.co.uk>

BUGS

Please report any bugs or feature requests to bug-dancer-plugin-debugdump at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Dancer-Plugin-DebugDump. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Dancer::Plugin::DebugDump

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2010 David Precious.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.