Statocles::File - A wrapper for a file on the filesystem
version 0.090
my $store = Statocles::Store->new( path => 'my/store' ); my $file = Statocles::File->new( store => $store, path => 'file.txt', # my/store/file.txt );
This class encapsulates the information for a file on the filesystem and provides methods to read the file.
The store that contains this file
The path to this file, relative to the store
The file handle containing the contents of the page.
Statocles::Store, Statocles::Document
Doug Bell <preaction@cpan.org>
This software is copyright (c) 2016 by Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Statocles, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Statocles
CPAN shell
perl -MCPAN -e shell install Statocles
For more information on module installation, please visit the detailed CPAN module installation guide.