Permalink
Browse files

suppress 'Use of uninitialized value'

  • Loading branch information...
1 parent 4a7e92f commit 12e292d8047bf51150eee9bbef38af695641ccad @xaicron committed Jul 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/envfile
View
@@ -9,7 +9,7 @@ exit;
sub main {
my ($envfile, @commands) = @_;
- usage() unless -f $envfile;
+ usage() unless defined $envfile && -f $envfile;
my $envf = App::envfile->new;
my $env = $envf->parse_envfile($envfile);

0 comments on commit 12e292d

Please sign in to comment.