Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

[fudge] return back compatibility with perl 5.8 #5

Merged
merged 1 commit into from

2 participants

@ruz
ruz commented

don't use // (DOR) operator

@flussence flussence merged commit 0fbf292 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 7, 2011
  1. @ruz

    [fudge] return back compatibility with perl 5.8

    ruz authored
    don't use // (DOR) operator
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  fudge
View
2  fudge
@@ -207,7 +207,7 @@ sub fudgeblock {
else {
my $does = join '|', keys %DOES;
next unless /^\s*($IS|$does)/;
- $numtests = $DOES{$1} // 1;
+ $numtests = defined $DOES{$1}? $DOES{$1} : 1;
}
$PENDING--;
$_ = "{ " . $_ . " }";
Something went wrong with that request. Please try again.