diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2004-02-18 11:14:43 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2004-02-18 11:14:43 +0000 |
commit | edd7382e985077dac6582d6406b3a16fa5fff0e9 (patch) | |
tree | 430be6021dfb905f113683834682185d7c38938b /pod/perldiag.pod | |
parent | c4e79b56de248a67c4a29293bd16f39465dde417 (diff) | |
download | perl-edd7382e985077dac6582d6406b3a16fa5fff0e9.tar.gz |
Add tests for the C<my $x if foo> deprecation, and change the
warning text
p4raw-id: //depot/perl@22332
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r-- | pod/perldiag.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 19bfa5efa4..a2c7348b12 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -4282,7 +4282,7 @@ old way has bad side effects. it already went past any symlink you are presumably trying to look for. The operation returned C<undef>. Use a filename instead. -=item Use of my in conditional deprecated +=item Deprecated use of my() in conditional (D deprecated) You used a C<my> declaration within a conditional expression of some sort, such as C<my $x=1 if foo> or C<foo && (my $x = 1)>. |