Ah.. so a warning was added for perl v5.9.1 (perl591delta), nice.
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__
--
No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]
| [reply] [d/l] |
"Deprecated use of my() in false conditional or loop"
If such a warning is considered, it would be better phrased as
"Deprecated use of my() in loop or false conditional"
Be well,
rir
| [reply] |