Revision history for Config-Any
+ - Show actual parse error when parse fails (Marcus Ramberg).
+
0.12 Mon 07 Apr 2008
- ensure Perl loader dies on a failed require() (RT #32995)
}
my @results;
+ warn $@ if $@;
for my $filename ( @{ $args->{ files } } ) {
= eval { $loader->load( $filename, $loader_args{ $loader } ); };
# fatal error if we used extension matching
- croak "Error parsing file: $filename" if $@ and $use_ext_lut;
+ croak "Error parsing $filename: $@" if $@ and $use_ext_lut;
next if $@ or !@configs;
# post-process config with a filter callback