NAME

App::PipeFilter::Role::Transform::None - don't transform data at all

VERSION

version 0.005

SYNOPSIS

Here is the class that makes up the jcat(1) utility. It reads JSON, does no transformations on the deserialized data, and writes new JSON one object per line.

package App::PipeFilter::JsonCat;

use Moose;
extends 'App::PipeFilter::Generic::Json';
with 'App::PipeFilter::Role::Transform::None';

1;

DESCRIPTION

App::PipeFilter::Role::Transform::None provides a transform() method that returns its parameters without altering them.

App::PipeFilter::Generic uses transform() to modify the contents of streams being filtered.

The "None" transform is commonly used in filters that translate data from one file or stream format to another without changing it.

SEE ALSO

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

perldoc -m App::PipeFilter::Role::Transform::None

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::Transform::None is Copyright 2011 by Rocco Caputo. All rights are reserved. App::PipeFilter::Role::Transform::None is released under the same terms as Perl itself.