William Reardon > Iterator-File > Iterator::File::Source::TempFile

Download:
Iterator-File-1.01.tar.gz

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

NAME ^

Iterator::File::Source::TempFile

DESCRIPTION ^

An Iterator::File state class based on using a temporary file as the persistant store.

Iterator::File::Source::TempFile is a subclass of Iterator::File::Source::Interface.

new(%config)

Constructor options:

marker_file (optional)

Name of temporary file used to store state. The default value is a file placed your temporary directory (determined by TMPDIR, TEMPDIR, or /tmp), with the name 'iterator-file-' & a unique id based on the source data file.

marker_file()

Read-only. Returns the name of the temporary marker file.

SEE ALSO ^

Iterator::File, Iterator::File::Source::Interface

AUTHOR ^

William Reardon, <wdr1@pobox.com>

COPYRIGHT AND LICENSE ^

Copyright (C) 2008 by William Reardon

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: