Nuvol::Dummy - Dummy service
use Nuvol::Connector; my $connector = Nuvol::Connector->new($configfile, 'Dummy');
Nuvol::Dummy provides modules with internal methods to access a dummy service. It is based on the local file system and can be used for tests and experiments.
The config file should be located in a separate folder with the following structure:
dummy folder ├── drives │ ├── Home # the main drive │ └── Drive 2 # optional second drive └── dummy.conf # config file
It is possible to use it with a temporary folder.
use Mojo::File; use Nuvol::Connector; my $tempfolder = Mojo::File::tempdir; Mojo::File->new("$tempfolder/drives/Home/")->make_path; my $connector = Nuvol::Connector->new("$tempfolder/dummy.conf", 'Dummy');
This will create a connector that has access to a main drive in a temporary folder.
Nuvol, Nuvol::Dummy::Connector, Nuvol::Dummy::Drive, Nuvol::Dummy::File, Nuvol::Dummy::Folder, Nuvol::Dummy::Item.
To install Nuvol, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Nuvol
CPAN shell
perl -MCPAN -e shell install Nuvol
For more information on module installation, please visit the detailed CPAN module installation guide.