| App-Hachero documentation | Contained in the App-Hachero distribution. |
App::Hachero::Plugin::Output::Dump - dumps result to STDOUT (for debug)
---
plugins:
- module: Output::Dump
dumps result to STDOUT (for debug)
Takaaki Mizuno <cpan@takaaki.info>
Nobuo Danjou <nobuo.danjou@gmail.com>
| App-Hachero documentation | Contained in the App-Hachero distribution. |
package App::Hachero::Plugin::Output::Dump; use strict; use warnings; use base qw(App::Hachero::Plugin::Base); use YAML; sub output : Hook { my ($self, $context, $args) = @_; my $fh = \*STDOUT; print $fh Dump $context->result; } 1; __END__