X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperlvar.pod;h=3b9ed060afc1adb05a01f7fa8bf95bf04189a65a;hb=71f882da828ecd892a162839f27e4625d69023fb;hp=a4e889562ea515755f9fe0be55a0195a933e5a26;hpb=5b88253beb15ba0b9f2b2ef15037de4950b82796;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perlvar.pod b/pod/perlvar.pod index a4e8895..3b9ed06 100644 --- a/pod/perlvar.pod +++ b/pod/perlvar.pod @@ -883,8 +883,14 @@ subscripting and when evaluating the index() and substr() functions. As of release 5 of Perl, assignment to C<$[> is treated as a compiler directive, and cannot influence the behavior of any other file. +(That's why you can only assign compile-time constants to it.) Its use is highly discouraged. +Note that, unlike other compile-time directives (such as L), +assignment to $[ can be seen from outer lexical scopes in the same file. +However, you can use local() on it to strictly bound its value to a +lexical block. + =item $] The version + patchlevel / 1000 of the Perl interpreter. This variable @@ -1117,9 +1123,10 @@ B<-t> or B<-TU>). This variable is read-only. =item ${^UNICODE} -Reflects certain Unicode settings of Perl. See L for more -information about the possible values. This variable is set during -Perl startup and thereafter read-only. +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 @@ -1343,6 +1350,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