X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperldiag.pod;h=cdc7c59c1a3ce199c149b6d4c998a5b3253431fd;hb=8cc95fdbe3687330bd987cea170494b4cd263d90;hp=0543595527395219cafde0152335df12a68e4d3c;hpb=1061146bbd7c9a40c4288ec63427c8327cc0d5fa;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 0543595..cdc7c59 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -2263,10 +2263,10 @@ system call to call, silly dilly. =item Too late for "B<-T>" option (X) The #! line (or local equivalent) in a Perl script contains the -B<-T> option, but Perl was not invoked with B<-T> in its argument -list. This is an error because, by the time Perl discovers a B<-T> in -a script, it's too late to properly taint everything from the -environment. So Perl gives up. +B<-T> option, but Perl was not invoked with B<-T> in its command line. +This is an error because, by the time Perl discovers a B<-T> in a +script, it's too late to properly taint everything from the environment. +So Perl gives up. If the Perl script is being executed as a command using the #! mechanism (or its local equivalent), this error can usually be fixed @@ -2276,6 +2276,12 @@ first argument: e.g. change C to C. If the Perl script is being executed as C, then the B<-T> option must appear on the command line: C. +=item Too late for "-%s" option + +(X) The #! line (or local equivalent) in a Perl script contains the +B<-M> or B<-m> option. This is an error because B<-M> and B<-m> options +are not intended for use inside scripts. Use the C pragma instead. + =item Too many ('s =item Too many )'s