Sponsoring The Perl Toolchain Summit 2025: Help make this important event another success Learn more

NAME

App::PipeFilter::Role::Output::Yaml - serialize output as YAML

VERSION

version 0.005

SYNOPSIS

use Moose;
with qw(
App::PipeFilter::Role::Input::Json
App::PipeFilter::Role::Transform::None
App::PipeFilter::Role::Output::Yaml
);
1;

DESCRIPTION

App::PipeFilter::Role::Output::Yaml provides an encode_output() method that serializes data into YAML for output.

App::PipeFilter::Generic uses encode_output() to determine the format of the data it will write.

CONFIGURATION

App::PipeFilter::Role::Output::Yaml uses YAML::Any by default, which will pick the best YAML implementation you have installed. You can change the YAML implementation by setting the PERL_APP_PIPEFILTER_YAML environment variable.

SEE ALSO

You may read this module's implementation in its entirety at

perldoc -m App::PipeFilter::Role::Output::Yaml

App::PipeFilter has top-level documentation including a table of contents for all the libraries and utilities included in the project.

BUGS

https://rt.cpan.org/Public/Dist/Display.html?Name=App-PipeFilter

REPOSITORY

https://github.com/rcaputo/app-pipefilter

COPYRIGHT AND LICENSE

App::PipeFilter::Role::Output::Yaml is Copyright 2011 by Rocco Caputo. All rights are reserved. App::PipeFilter::Role::Output::Yaml is released under the same terms as Perl itself.