slackget10::File is a Perl class to manage files.
slackget10::File is the class which represent a file for slack-get.
Access to hard disk are saved by taking a copy of the file in memory, so if you work on big file it may be a bad idea to use this module. Or maybe you have some interest to close the file while you don't work on it.
my $file = slackget10::File->new('foo.txt'); # if foo.txt exist the constructor will call the Read() method
$file->Write("bar.txt"); # write foo.txt (plus the addition) into bar.txt
$file->Close(); # Free the memory !
$file->Read(); # But the slackget10::File object is not destroy and you can re-load the file content
$file->Read("baz.txt"); # Or changing file (the object will be update with the new file)
The main advantage of this module is that you don't work directly on the file but on a copy. So you can make errors, they won't be wrote until you call the Write() method