Rocco Caputo > App-PipeFilter > App::PipeFilter::Role::Opener::GenericOutput

Download:
App-PipeFilter-0.005.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.005   Source  

NAME ^

App::PipeFilter::Role::Opener::GenericOutput - a generic method to open output 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::GenericOutput provides a generic open_output() method to open named output files. It opens STDOUT when the output file is named "-" (which is often the default).

App::PipeFilter::Generic uses open_output() to open the output files to which it will write, including STDOUT. 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::GenericOutput

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

syntax highlighting: