App::PipeFilter::Role::Transform::None - don't transform data at all
version 0.005
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;
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.
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.
https://rt.cpan.org/Public/Dist/Display.html?Name=App-PipeFilter
https://github.com/rcaputo/app-pipefilter
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.
To install App::PipeFilter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::PipeFilter
CPAN shell
perl -MCPAN -e shell install App::PipeFilter
For more information on module installation, please visit the detailed CPAN module installation guide.