diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-09-25 17:21:00 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-09-25 17:21:00 +0000 |
commit | 68d932c852b68fc407dda03516c89fb270ae694d (patch) | |
tree | 716b9d40b813eb357290582960f5f89afe4e5134 /pod | |
parent | e3407aba2c52ce8e302b2dc706d0837bc82c537f (diff) | |
download | perl-68d932c852b68fc407dda03516c89fb270ae694d.tar.gz |
perldiag entry for #12205.
p4raw-id: //depot/perl@12206
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldiag.pod | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 7408d2fc1e..06434a2a58 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -4065,6 +4065,16 @@ where the problem was discovered. See L<perlre>. its equivalent C<BEGIN> block found an internal inconsistency with the version number. +=item v-string in use/require is non-portable + +(W) The use of v-strings is non-portable to older, pre-5.6, Perls. +If you want your scripts to be backward portable, use the floating +point version number: for example, instead of C<use 5.6.1> say +C<use 5.006_001>. This of course won't help: the older Perls +won't suddenly start understanding newer features, but at least +they will show a sensible error message indicating the required +minimum version. + =item Warning: something's wrong (W) You passed warn() an empty string (the equivalent of C<warn "">) or |