Hi, I'm the mythtv-status author, and I first noticed this problem a few nights ago. After digging into it a little bit further it looks like Config::Auto no longer gracefully handles the case where the file doesn't exist.
The attached patch resolves this. I've also raised a bug on CPAN - https://rt.cpan.org/Ticket/Display.html?id=66460 Cheers! -- Andrew Ruthven, Wellington, New Zealand At home: [email protected] | linux.conf.au 2012 | Come with us, Under the Stars | http://lcaunderthestars.org.au
diff --git a/Auto.pm.orig b/Auto.pm
index 7086fa2..b1ea19e 100644
--- a/Auto.pm.orig
+++ b/Auto.pm
@@ -207,6 +207,10 @@ sub parse {
or croak( "Could not parse '$self' => @_" );
}
+ my $file = $self->file;
+ croak "No config file found!" unless defined $file;
+ croak "Config file $file not readable!" unless -e $file;
+
### from Toru Marumoto: Config-Auto return undef if -B $file
### <[email protected]>
# If a config file "$file" contains multibyte charactors like japanese,
signature.asc
Description: This is a digitally signed message part

