Do you think the warning
"Deprecated use of my() in false conditional"should be extended to
"Deprecated use of my() in false conditional or loop"which would then trigger for both of the following cases:
$ /usr/local/bin/perl5.10.0 -w my $x if 0 __END__ Deprecated use of my() in false conditional at - line 2. $ /usr/local/bin/perl5.10.0 -w my $x = $_ for (1 .. 3); __END__
In reply to Re^4: Assign in loop with and without declaration
by andreas1234567
in thread Assign in loop with and without declaration
by andreas1234567
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |