App::ZofCMS::Plugin::AutoDump - debugging plugin to quickly dump out query parameters and ZofCMS Template hashref


App-ZofCMS-Plugin-AutoDump documentation  | view source Contained in the App-ZofCMS-Plugin-AutoDump distribution.

Index


NAME

Top

App::ZofCMS::Plugin::AutoDump - debugging plugin to quickly dump out query parameters and ZofCMS Template hashref

SYNOPSIS

Top

    plugins => [
        { Sub => 200 },
        { AutoDump => 300 },
    ],

    plug_sub => sub { ## this is optional, just for an example
        my ( $t, $q ) = @_;
        $t->{foo} = 'bar';
        $q->{foo} = 'bar';
    },

DESCRIPTION

Top

The module is a plugin for App::ZofCMS that provides means to quickly use Data::Dumper to dump query parameters hashref as well as ZofCMS Template hashref.

This documentation assumes you've read App::ZofCMS, App::ZofCMS::Config and App::ZofCMS::Template

HOW TO USE

Top

    plugins => [
        { Sub => 200 },
        { AutoDump => 300 },
    ],

This plugin requires no configuration. To run it simply include it in the list of plugins to execute with the priority set at the right point of execution line.

HOW IT WORKS

Top

Plugin assumes that you're using CGI::Carp (should be on by default if you've used zofcms_helper script to generate site's skeleton). When plugin is run it calls die Dumper [ $q, $t ] where $q is query parameters hashref and $t is ZofCMS Template hashef... therefore, in the browser's output the first hashef is the query.

AUTHOR

Top

'Zoffix, <'zoffix at cpan.org'> (http://haslayout.net/, http://zoffix.com/, http://zofdesign.com/)

BUGS

Top

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

SUPPORT

Top

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

    perldoc App::ZofCMS::Plugin::AutoDump

You can also look for information at:

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=App-ZofCMS-Plugin-AutoDump

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/App-ZofCMS-Plugin-AutoDump

* CPAN Ratings

http://cpanratings.perl.org/d/App-ZofCMS-Plugin-AutoDump

* Search CPAN

http://search.cpan.org/dist/App-ZofCMS-Plugin-AutoDump/

COPYRIGHT & LICENSE

Top


App-ZofCMS-Plugin-AutoDump documentation  | view source Contained in the App-ZofCMS-Plugin-AutoDump distribution.