diff --git a/t/argument-check.t b/t/argument-check.t index 3315e15..6c17742 100755 --- a/t/argument-check.t +++ b/t/argument-check.t @@ -72,7 +72,7 @@ sub parseConfigFile open( FILE, "<", $file ) or die "Cannot read file '$file' - $!"; - my $line = ""; + my $line = ""; while (defined($line = ) ) { @@ -106,7 +106,7 @@ sub parseConfigFile $key =~ s/\s+$//; $val =~ s/^\s+//; $val =~ s/\s+$//; - + next if ( $key =~ /--/ ); # Store value. @@ -120,8 +120,6 @@ sub parseConfigFile } - - =head2 readFile Read a named file and return an array of its contents.