NAME
App::PipeFilter::Role::Flags::Standard - standard flag attributes and getopt
VERSION
version 0.005
SYNOPSIS
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;
DESCRIPTION
App::PipeFilter::Role::Flags::Standard provides standard pipeline filter attributes and consumes MooseX::Getopt to populate them from command line arguments.
PUBLIC ATTRIBUTES
verbose
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.
PUBLIC METHODS
next_input_file
next_input_file() returns the next input file name from the command line. If no file was named, it returns "-" representing STDIN.
SEE ALSO
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.
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::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.