Skip to content

Commit

Permalink
syntax error, =~ instead of =
Browse files Browse the repository at this point in the history
Reported-by: Tomás Abad <tabad@sescam.jccm.es>
  • Loading branch information
Gonéri Le Bouder committed Aug 6, 2012
1 parent 58812e4 commit 384a7e7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -71,7 +71,7 @@ sub _getMachineInfo {

my %info;
while (my $line = <$handle>) {
next unless $line = /^(\S+)\s*=\s*(\S+.*)/;
next unless $line =~ /^(\S+)\s*=\s*(\S+.*)/;
my $key = $1;
my $value = $2;
$value =~ s/(^"|"$)//g;
Expand Down

0 comments on commit 384a7e7

Please sign in to comment.