This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Test::Builder: Fix "return $a or $b" precedence issue
authorNiels Thykier <niels@thykier.net>
Mon, 15 Jul 2013 20:40:48 +0000 (22:40 +0200)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 15 Sep 2013 21:27:44 +0000 (14:27 -0700)
commit13c65ef8cd53d353c932eb688b59f1ca81f5c374
tree6e11d3814dd3f37ef85be1b325781097905908c3
parent846aaad81e649b939e2440363c4d527f7c67131b
Test::Builder: Fix "return $a or $b" precedence issue

perl parses "return $a or $b" effectively as "return $a;", which is
not what was intended.

Signed-off-by: Niels Thykier <niels@thykier.net>
cpan/Test-Simple/lib/Test/Builder.pm