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

NAME

App::Addex::Output::ToFile - base class for output plugins that write to files

VERSION

version 0.027

DESCRIPTION

This is a base class for output plugins that will write to files. The "filename" configuration parameter must be given, and must be the name of a file to which the user can write.

PERL VERSION SUPPORT

This module has the same support period as perl itself: it supports the two most recent versions of perl. (That is, if the most recently released version is v5.40, then this module should work on both v5.40 and v5.38.)

Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl.

METHODS

new

  my $addex = App::Addex::Output::Subclass->new(\%arg);

This method returns a new outputter. It should be subclassed to provide a process_entry method.

Valid arguments are:

  filename - the file to which to write configuration (required)

output

  $outputter->output($string);

This method appends the given string to the output file, adding a newline.

AUTHOR

Ricardo SIGNES <rjbs@semiotic.systems>

COPYRIGHT AND LICENSE

This software is copyright (c) 2006 by Ricardo SIGNES.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.