The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

VERSION

version 0.015

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.

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@cpan.org>

BUGS

Please report any bugs or feature requests through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

COPYRIGHT

Copyright 2006-2007 Ricardo Signes, all rights reserved.

This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.