Config-FromHash
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Config/FromHash.pm view on Meta::CPAN
if(exists $args{'environments'}) {
if(ref $args{'environments'} ne 'ARRAY') {
$args{'environments'} = [ $args{'environments'} ];
}
}
else {
$args{'environments'} = [ undef ];
}
my $self = bless \%args => $class;
Hash::Merge::set_behavior('LEFT_PRECEDENT');
if(scalar @{ $args{'filenames'} }) {
foreach my $environment (reverse @{ $args{'environments'} }) {
FILE:
foreach my $config_file (reverse @{ $args{'filenames'} }) {
my($filename, $directory, $extension) = File::Basename::fileparse($config_file, qr{\.[^.]+$});
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.713 second using v1.00-cache-2.02-grep-82fe00e-cpan-d29e8ade9f55 )