diff options
-rw-r--r-- | perl.c | 2 | ||||
-rw-r--r-- | pod/perldiag.pod | 2 | ||||
-rw-r--r-- | pod/perlrun.pod | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -1934,7 +1934,7 @@ S_parse_body(pTHX_ char **env, XSINIT_t xsinit) d = s; if (!*s) break; - if (!strchr("DIMUdmtwA", *s)) + if (!strchr("CDIMUdmtwA", *s)) Perl_croak(aTHX_ "Illegal switch in PERL5OPT: -%c", *s); while (++s && *s) { if (isSPACE(*s)) { diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 729d149b51..817503bfae 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -1866,7 +1866,7 @@ Interpretation of the octal number stopped before the 8 or 9. =item Illegal switch in PERL5OPT: %s (X) The PERL5OPT environment variable may only be used to set the -following switches: B<-[DIMUdmtw]>. +following switches: B<-[CDIMUdmtwA]>. =item Ill-formed CRTL environ value "%s" diff --git a/pod/perlrun.pod b/pod/perlrun.pod index dbf008dacb..36e331dbdc 100644 --- a/pod/perlrun.pod +++ b/pod/perlrun.pod @@ -985,7 +985,7 @@ The program should instead say: =item PERL5OPT Command-line options (switches). Switches in this variable are taken -as if they were on every Perl command line. Only the B<-[DIMUdmtw]> +as if they were on every Perl command line. Only the B<-[CDIMUdmtwA]> switches are allowed. When running taint checks (because the program was running setuid or setgid, or the B<-T> switch was used), this variable is ignored. If PERL5OPT begins with B<-T>, tainting will be |