X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperlvar.pod;h=571953fcbc54eb9e27e2dc9ada5ea70c9ef01363;hb=cccede5366275457276b68bb148b7872098aaf29;hp=7621be0c0d181b66ec6ccc7e76dbf24423d5d33f;hpb=fde18df140d5f64815bdd632a127ecd5ce3d97fa;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perlvar.pod b/pod/perlvar.pod index 7621be0..571953f 100644 --- a/pod/perlvar.pod +++ b/pod/perlvar.pod @@ -1091,9 +1091,15 @@ regular expression assertion (see L). May be written to. =item $^S -Current state of the interpreter. Undefined if parsing of the current -module/eval is not finished (may happen in $SIG{__DIE__} and -$SIG{__WARN__} handlers). True if inside an eval(), otherwise false. +Current state of the interpreter. + + $^S State + --------- ------------------- + undef Parsing module/eval + true (1) Executing an eval + false (0) Otherwise + +The first state may happen in $SIG{__DIE__} and $SIG{__WARN__} handlers. =item $BASETIME @@ -1109,15 +1115,12 @@ Reflects if taint mode is on or off. 1 for on (the program was run with B<-T>), 0 for off, -1 when only taint warnings are enabled (i.e. with B<-t> or B<-TU>). This variable is read-only. -=item ${^UTF8_LOCALE} +=item ${^UNICODE} -Reflects whether the locale settings indicated the use of UTF-8 and that -the use of UTF-8 was enabled either by the C<-C> command line switch or -by setting the PERL_UTF8_LOCALE environment variable to a true value. -This variable is read-only. If true, the STDIN is expected to be in -UTF-8, the STDOUT and STDERR are in UTF-8, and C<:utf8> is the default -file open layer. See L, L, and L -for more information. +Reflects certain Unicode settings of Perl. See L +documentation for the C<-C> switch for more information about +the possible values. This variable is set during Perl startup +and is thereafter read-only. =item $PERL_VERSION @@ -1341,6 +1344,10 @@ this: See L. +The delivery policy of signals changed in Perl 5.8.0 from immediate +(also known as "unsafe") to deferred, also known as "safe signals". +See L for more information. + Certain internal hooks can be also set using the %SIG hash. The routine indicated by C<$SIG{__WARN__}> is called when a warning message is about to be printed. The warning message is passed as the first @@ -1480,7 +1487,7 @@ exempt in these ways: ENV STDIN INC STDOUT ARGV STDERR - ARGVOUT + ARGVOUT _ SIG In particular, the new special C<${^_XYZ}> variables are always taken