This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Correct precedence from and to && in an expression with assignment.
authorNicholas Clark <nick@ccl4.org>
Mon, 17 Oct 2005 14:44:59 +0000 (14:44 +0000)
committerNicholas Clark <nick@ccl4.org>
Mon, 17 Oct 2005 14:44:59 +0000 (14:44 +0000)
p4raw-id: //depot/perl@25781

ext/IO/t/io_sock.t

index 918e96b..70a42e9 100755 (executable)
@@ -28,7 +28,7 @@ BEGIN {
     }
 }
 
-my $has_perlio = $] >= 5.008 and find PerlIO::Layer 'perlio';
+my $has_perlio = $] >= 5.008 && find PerlIO::Layer 'perlio';
 
 $| = 1;
 print "1..26\n";