summaryrefslogtreecommitdiff
path: root/pod/perldiag.pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-09-13 03:03:57 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-09-13 03:03:57 +0000
commit6bc102ca57c5133ccb41282f9b318b89d8ec7a82 (patch)
treef2865fee6aba38a706931f32bbe5954a66904917 /pod/perldiag.pod
parent3e92a2540996678c49663ee454dadc7970cdb925 (diff)
downloadperl-6bc102ca57c5133ccb41282f9b318b89d8ec7a82.tar.gz
add -DPERL_Y2KWARN build option that will generate additional
warnings on "19$yy" etc (reworked a patch suggested by Ulrich Pfeifer <upf@de.uu.net>) p4raw-id: //depot/perl@4132
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r--pod/perldiag.pod5
1 files changed, 5 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 1c07a31fa6..91de1f47fd 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -2348,6 +2348,11 @@ perspective, it's probably not what you intended.
(F) Your C compiler uses POSIX getpgrp(), which takes no argument, unlike
the BSD version, which takes a pid.
+=item Possible Y2K bug: %s
+
+(W) You are concatenating the number 19 with another number, which
+could be a potential Year 2000 problem.
+
=item Possible attempt to put comments in qw() list
(W) qw() lists contain items separated by whitespace; as with literal