
App::PipeFilter::Role::Flags::Standard - standard flag attributes and getopt

version 0.005

This isn't a complete module because App::PipeFilter::Generic is one of the largest modules, weighing in at some 40-ish lines.
package App::PipeFilter::Generic; use Moose; with 'App::PipeFilter::Role::Flags::Standard'; ... implementation goes here .... 1;

App::PipeFilter::Role::Flags::Standard provides standard pipeline filter attributes and consumes MooseX::Getopt to populate them from command line arguments.

The boolean verbose attribute (set by the --verbose command line flag) optionally enables additional progress and status messages on standard error.
Use with caution. Some pipeline filters may use standard error for their own purposes.

next_input_file() returns the next input file name from the command line. If no file was named, it returns "-" representing STDIN.

You may read this module's implementation in its entirety at
perldoc -m App::PipeFilter::Role::Flags::Standard
App::PipeFilter has top-level documentation including a table of contents for all the libraries and binaries included in the project.

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

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

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