summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-02-07 17:49:58 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-02-07 17:49:58 +0000
commit46487f74b15c77c6f040c8b818f810a5255b1078 (patch)
treeab390652270eff34aaac73f45f85a2208c8d0804 /perl.c
parenta3dfe201291c96fc01babd3d4782d52ba945f2a3 (diff)
downloadperl-46487f74b15c77c6f040c8b818f810a5255b1078.tar.gz
change $^U to $^WIDE_SYSTEM_CALLS; s/PL_bigchar/PL_widesyscalls/;
introduce -C switch (sets $^WIDE_SYSTEM_CALLS) p4raw-id: //depot/perl@5029
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl.c b/perl.c
index 8c0a297b39..0cde0acd22 100644
--- a/perl.c
+++ b/perl.c
@@ -845,6 +845,7 @@ S_parse_body(pTHX_ va_list args)
#endif
case ' ':
case '0':
+ case 'C':
case 'F':
case 'a':
case 'c':
@@ -1797,6 +1798,7 @@ S_usage(pTHX_ char *name) /* XXX move this out into a module ? */
static char *usage_msg[] = {
"-0[octal] specify record separator (\\0, if no argument)",
"-a autosplit mode with -n or -p (splits $_ into @F)",
+"-C enable native wide character system interfaces",
"-c check syntax only (runs BEGIN and END blocks)",
"-d[:debugger] run program under debugger",
"-D[number/list] set debugging flags (argument is a bit mask or alphabets)",
@@ -1852,6 +1854,10 @@ Perl_moreswitches(pTHX_ char *s)
}
return s + numlen;
}
+ case 'C':
+ PL_widesyscalls = TRUE;
+ s++;
+ return s;
case 'F':
PL_minus_F = TRUE;
PL_splitstr = savepv(s + 1);