X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperlvar.pod;h=7c61a050960724bfdf9d5c8fb4f5bafa34a7badb;hb=80be973138d7f5bbcbe6ee9116f155c2883f2741;hp=d61fad662fb7e1b0c805e62644de3bfa37be8938;hpb=52c447a82d7db5d9640813b729e0621880550564;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perlvar.pod b/pod/perlvar.pod index d61fad6..7c61a05 100644 --- a/pod/perlvar.pod +++ b/pod/perlvar.pod @@ -241,7 +241,7 @@ See L for a replacement. =item ${^MATCH} X<${^MATCH}> -This is similar to C<$&> (C<$POSTMATCH>) except that it does not incur the +This is similar to C<$&> (C<$MATCH>) except that it does not incur the performance penalty associated with that variable, and is only guaranteed to return a defined value when the pattern was compiled or executed with the C

modifier. @@ -349,6 +349,8 @@ past where $2 ends, and so on. You can use C<$#+> to determine how many subgroups were in the last successful match. See the examples given for the C<@-> variable. +=item %LAST_PAREN_MATCH + =item %+ X<%+> @@ -1035,8 +1037,9 @@ 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. +(That's why you can only assign compile-time constants to it.) Its +use is deprecated, and will trigger a warning (if the deprecation +L category is enabled. You did C, right?) Note that, unlike other compile-time directives (such as L), assignment to C<$[> can be seen from outer lexical scopes in the same file.