Found = in conditional, should be == at scope_test.pl line 5.
For example, in the following code:
use strict;
use warnings;
while (my $y = 1) {
$y = 0;
print "hello (y = $y)\n";
}
You will get the warning about "= in conditional".
It's also interesting to note that this test program, which is essentially equivalent to:
use strict;
use warnings;
my $y = 0;
while ($y = 1) {
$y = 0;
print "hello (y = $y)\n";
}
will never terminate, even though $y is set to zero each time, because it's set to 1 immediately before the condition of the while statement is evaluated.
s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/
|