diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-11-04 15:50:07 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-11-04 15:50:07 +0000 |
commit | 5d9c98cd422c28eda066f2ffa94077448887483b (patch) | |
tree | 79f00120103adb3999054358468342c08cdf63c9 /pod | |
parent | b4b9a3288b9178e46ae8397db4a9c2e17d729ebf (diff) | |
download | perl-5d9c98cd422c28eda066f2ffa94077448887483b.tar.gz |
How pre-5.9.0 Perl can be fooled by a defined-or.
p4raw-id: //depot/perl@18091
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldiag.pod | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index e1c9a069ab..4f9112bea0 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -3239,6 +3239,11 @@ or setgid bit set. This doesn't make much sense. construct. Remember that bracketing delimiters count nesting level. Missing the leading C<$> from a variable C<$m> may cause this error. +Note that since Perlf 5.9.0 a // can also be the I<defined-or> +construct, not just the empty search pattern. Therefore code written +in Perl 5.9.0 or later that uses the // as the I<defined-or> can be +misparsed by pre-5.9.0 Perls as a non-terminated search pattern. + =item %sseek() on unopened filehandle (W unopened) You tried to use the seek() or sysseek() function on a |