Revision history for Perl extension Catalyst::Plugin::ConfigLoader.
- - Updated pod with new example
0.20 Wed Feb 06 2008
- sort configs by filename for loading (RT #31498)
+ - Updated pod with new example
+ - die() instead of silently skip files with extensions we can't handle
0.19 Wed Nov 21 2007
- fixed suffix appending to explicit config paths
my @files;
if ( $extension ) {
- next unless grep { $_ eq $extension } @extensions;
+ die "Unable to handle files with the extension '${extension}'"
+ unless grep { $_ eq $extension } @extensions;
( my $local = $path ) =~ s{\.$extension}{_$suffix.$extension};
push @files, $path, $local;
}