Dancer::Plugin::DebugDump - dump objects to debug log with Data::Dump [DEPRECATED]
*NOTE* : this module is now deprecated; there's no need for it, as Dancer's own debug keyword automatically serialises any references passed to it using Data::Dumper, so you can just say e.g.:
debug \%foo;
or
debug "User details", \%foo;
This plugin may be removed from CPAN at some point in the future; I've decided to leave it around with a deprecation notice for the time being so that it's still available for anyone already using it.
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.
debug_dump
debug
Allows quick and easy debugging by dumping stuff to your log/console.
use Dancer::Plugin::DebugDump; debug_dump("My nice object" => $object); debug_dump("My hash" => \%hash); debug_dump($anotherref);
David Precious, <davidp at preshweb.co.uk>
<davidp at preshweb.co.uk>
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.
bug-dancer-plugin-debugdump at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Dancer::Plugin::DebugDump
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Dancer-Plugin-DebugDump
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Dancer-Plugin-DebugDump
CPAN Ratings
http://cpanratings.perl.org/d/Dancer-Plugin-DebugDump
Search CPAN
http://search.cpan.org/dist/Dancer-Plugin-DebugDump/
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.
To install Dancer::Plugin::DebugDump, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dancer::Plugin::DebugDump
CPAN shell
perl -MCPAN -e shell install Dancer::Plugin::DebugDump
For more information on module installation, please visit the detailed CPAN module installation guide.