CloudPAN

 view release on metacpan or  search on metacpan

lib/CloudPAN.pm  view on Meta::CPAN

        unless ref($opt) eq 'HASH';

    if(exists($opt->{persistence_location}))
    {
        my $loc = $opt->{persistence_location};

        File::Path::make_path($loc, {error => \my $err});

        if(@$err)
        {
            die '"persistence_location" must be a directory, readable, and writable by your effective uid/gid';
        }
        
        $options->{location} = $loc;
    }
    else
    {
        die 'Options hash must have "persistence_location" defined';
    }
}



( run in 0.674 second using v1.01-cache-2.11-cpan-97f6503c9c8 )