Thesaurus::CSV - Read/write thesarus data from/to a file
use Thesaurus::CSV; my $book = Thesaurus::CSV->new( filename => '/some/file/name.csv' );
This subclass of
Thesaurus implements persistence by reading and storing data in a CSV format text file.
This CSV file can easily be edited from a text editor
For very large objects, consider using the
Thesaurus::BerkeleyDB subclass instead, as it is much more memory-efficient.
This module requires the
Text::CSV_XS module from CPAN.
Besides those parameters taken by its parent class,
Thesaurus, this class requires an additional parameter,
filename. If this file exists when the object is created, data from the file be used to populate the object in memory.
Writes the contents of the object to its associated file.