The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::PipeFilter::Role::Opener::GenericInput - common method to open input files

VERSION

version 0.005

SYNOPSIS

  package App::PipeFilter::Role::Opener::GenericIO;

  use Moose::Role;

  with qw(
    App::PipeFilter::Role::Opener::GenericInput
    App::PipeFilter::Role::Opener::GenericOutput
  );

  1;

DESCRIPTION

App::PipeFilter::Role::Opener::GenericInput provides a generic open_input() method to open named input files, devices or streams. It opens STDIN when the input file is named "-" (which is often the default).

App::PipeFilter::Generic uses open_input() to open the input files specified on the command line. Opening files is done in a dedicated method so it may be augmented or overridden in subclasses.

SEE ALSO

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

  perldoc -m App::PipeFilter::Role::Opener::GenericInput

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