From: Nick Ing-Simmons <nik@tiuk.ti.com>
Date: Sun, 29 Nov 1998 20:13:58 +0000 (+0000)
Subject: Update docs and English.pm for $^C
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=305aace01f7a7308f879b438b7113590a99fe757;p=p5sagit%2Fp5-mst-13.2.git

Update docs and English.pm for $^C

p4raw-id: //depot/perl@2397
---

diff --git a/lib/English.pm b/lib/English.pm
index 7aa0d84..9f29a48 100644
--- a/lib/English.pm
+++ b/lib/English.pm
@@ -168,6 +168,7 @@ sub import {
 
 	*PERL_VERSION				= *]	;
 	*ACCUMULATOR				= *^A	;
+	*COMPILING				= *^C	;
 	*DEBUGGING				= *^D	;
 	*SYSTEM_FD_MAX				= *^F	;
 	*INPLACE_EDIT				= *^I	;
diff --git a/pod/perlvar.pod b/pod/perlvar.pod
index 8c6305c..fb27bfb 100644
--- a/pod/perlvar.pod
+++ b/pod/perlvar.pod
@@ -674,6 +674,15 @@ of perl in the right bracket?)  Example:
 See also the documentation of C<use VERSION> and C<require VERSION>
 for a convenient way to fail if the Perl interpreter is too old.
 
+=item $COMPILING
+
+=item $^C
+
+The current value of the flag associated with the B<-c> switch. Mainly
+of use with B<-MO=...> to allow code to alter its behaviour when being compiled.
+(For example to automatically AUTOLOADing at compile time rather than normal
+deferred loading.)  Setting C<$^C = 1> is similar to calling C<B::minus_c>.
+
 =item $DEBUGGING
 
 =item $^D