Mojo-Darkpan

 view release on metacpan or  search on metacpan

lib/Mojo/Darkpan/Config.pm  view on Meta::CPAN


    return $config;
}

sub _build__config {
    my $self = shift;
    my $location = $ENV{DARKPAN_CONFIG_FILE};

    if (defined($location)) {

        $self->_validateAssetLocation($location);

        my $file = Mojo::File->new($location);
        my $config = JSON->new->utf8->decode($file->slurp);

        return $config;
    }

    return undef;
}

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.280 second using v1.00-cache-2.02-grep-82fe00e-cpan-0ab70e22118 )