Take me over?
NAME
Thesaurus::File - Subclass of Thesaurus that implements persistence using CSV format text files.
SYNOPSIS
use Thesaurus::File;
my $book = Thesaurus->new( ignore_case => 1,
files => ['file1.csv', 'file2.csv'] );
DESCRIPTION
This subclass of Thesaurus implements persistence through the use of CSV format text files.
METHODS
add_files
$th->add_files($filename1, $filenam2, ...);
This method adds the contents of the given files to the thesaurus object. If an entry in the files matches an entry already in the object, then it is appended to the existing list, otherwise a new entry is created.
save(%params)
Writes the contents of the object to a CSV format file. It takes the following named parameters:
filename ($) - The filename where the data will be written.
mode ($) - This determines whether to write or append the data. This should be a string ('write' or 'append').
AUTHOR
Dave Rolsky, <autarch@urth.org>
SEE ALSO
Thesaurus, Thesaurus::DBM, Thesaurus::DBI
COPYRIGHT
Copyright (c) 1999 David Rolsky. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 106:
'=item' outside of any '=over'
- Around line 125:
You forgot a '=back' before '=head1'