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

NAME

ESPPlus::Storage::Reader::Tie - A simple interface for reading ESP+ Storage repository files

SYNOPSIS

 use Symbol 'gensym';
 use ESPPlus::Storage::Reader::Tie;

 my $db = gensym;
 tie *$db, 'ESPPlus::Storage::Reader::Tie,
   { filename => $Repository,
     uncompress_function => \&uncompress }
     or die "Can't tie \$db to $Repository: $!";
 while (my $record = <$db>) {
     print "$$record\n";
 }
 close $db;
 untie $db;

DESCRIPTION

This allows for a simple file oriented API to an ESP+ Storage repository. You can just tie a file handle to your database and read it like it was a normal file. Not all of the Tie::Handle methods have been handled - everything associated with writing to the file is omitted.

If you find this useful or have suggestions I'm very open to alterations.

COPYRIGHT AND LICENSE

Copyright 2003, Joshua b. Jore. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of either:

a) the GNU General Public License as published by the Free Software Foundation; version 2, or

b) the "Artistic License" which comes with Perl.

SEE ALSO

ESPPlus::Storage::Reader ESPPlus::Storage