RackMan::File - Generic class to represent a file
use RackMan::File; my $file = RackMan::File->new(name => "lipsum.txt"); $file->add_content("Lorem ipsum dolor sit amet"); $file->write;
This module is a Moose-based class to represent a file.
Create and return a new object
Append content
Return the full path of the file
Read the file from disk in memory
Write the content of the file on disk
String, name of the file
String, path to the file
String, content of the file
Sebastien Aperghis-Tramoni
To install RackMan, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RackMan
CPAN shell
perl -MCPAN -e shell install RackMan
For more information on module installation, please visit the detailed CPAN module installation guide.