summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-05-30 13:51:00 +0000
committerNicholas Clark <nick@ccl4.org>2005-05-30 13:51:00 +0000
commit7f8d406d48c6ce45fc9206958de9fcb8c7bf5685 (patch)
tree957c97170940ac73ec388c652296608cc68f5e67
parent5783f60ee823433677e6194c3ce81da185ab8e24 (diff)
downloadperl-7f8d406d48c6ce45fc9206958de9fcb8c7bf5685.tar.gz
Revert change 24070 for now (-C on the #! line)
p4raw-id: //depot/maint-5.8/perl@24635
-rw-r--r--pod/perldiag.pod2
-rw-r--r--toke.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 3a5fff8627..fe637e3dce 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -3779,7 +3779,7 @@ system call to call, silly dilly.
=item Too late for "-%s" option
(X) The #! line (or local equivalent) in a Perl script contains the
-B<-M>, B<-m> or B<-C> option. This is an error because those options
+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<use> pragma instead.
=item Too late to run %s block
diff --git a/toke.c b/toke.c
index cb6c8841be..b8ca6ec96f 100644
--- a/toke.c
+++ b/toke.c
@@ -2739,7 +2739,7 @@ Perl_yylex(pTHX)
if (*d++ == '-') {
bool switches_done = PL_doswitches;
do {
- if (*d == 'M' || *d == 'm' || *d == 'C') {
+ if (*d == 'M' || *d == 'm') {
char *m = d;
while (*d && !isSPACE(*d)) d++;
Perl_croak(aTHX_ "Too late for \"-%.*s\" option",