• Thibaut Hourlier's avatar
    Fix precedence problem by replacing or with || · d5c25b3f
    Thibaut Hourlier authored
    Since Perl 5.22, it warns of possible precedence problem it cases
    like : return $value or die('Sad');
    return $value is tested, not $value. It can be fixed by either using
    || or by using () around the test.
    The problem was already there in earlier versions of Perl but no
    waring was issued.
    d5c25b3f