Skip Menu |

This queue is for tickets about the Config-Auto CPAN distribution.

Report information
The Basics
Id: 7587
Status: resolved
Priority: 0/
Queue: Config-Auto

People
Owner: Nobody in particular
Requestors: abeltje [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.10
Fixed in: (no value)



Subject: "uninitialized" warning from parse()
Hi, This looks like a thinko to me. Here's the patch: --- Config/Auto.pm.orig Thu Sep 9 03:24:50 2004 +++ Config/Auto.pm Thu Sep 9 03:25:16 2004 @@ -32,7 +32,7 @@ my $file = shift; my %args = @_; - $file = find_file($file) if not defined $file and + $file = find_file($file) if not defined $file or not -e $file; croak "No config file found!" if not defined $file; croak "Config file $file not readable!" if not -e $file; hth, Abe
[ABELTJE - Wed Sep 8 21:36:18 2004]: Show quoted text
> Hi, > > This looks like a thinko to me. Here's the patch: > > --- Config/Auto.pm.orig Thu Sep 9 03:24:50 2004 > +++ Config/Auto.pm Thu Sep 9 03:25:16 2004 > @@ -32,7 +32,7 @@ > my $file = shift; > my %args = @_; > > - $file = find_file($file) if not defined $file and > + $file = find_file($file) if not defined $file or > not -e $file; > croak "No config file found!" if not defined $file; > croak "Config file $file not readable!" if not -e $file;
Thanks, applied (and sorry for the delay). New version just uploaded to CPAN: File successfully copied to '/home/ftp/incoming/Config-Auto-0.11.tar.gz'