diff options
author | Father Chrysostomos <sprout@cpan.org> | 2013-07-05 01:10:08 -0700 |
---|---|---|
committer | Ricardo Signes <rjbs@cpan.org> | 2013-10-05 14:20:08 -0400 |
commit | 89f3591148a8f1ca21a2faaed697cfa194632816 (patch) | |
tree | 84359a06a80f5705c64334235f13c85f191c3462 /perl.h | |
parent | b9ff0c4900019af7a99b75cd3befc2a4b62c4321 (diff) | |
download | perl-89f3591148a8f1ca21a2faaed697cfa194632816.tar.gz |
Postfix dereference syntax
$_->$* means $$_ (and compiled down to the same op tree)
$_->@* means @$_ ( ditto ditto blah blah blah )
$_->%* means %$_ (...)
$_->&* means &$_
$_->** means *$_
$_->@[...] means @$_[...]
$_->@{...} means @$_{...}
$_->*{...} means *$_{...}
$_->@* is not always equivalent to @$_, particularly in contexts like
@foo[0], which cannot be written foo->@*[0]. (Just omit the asterisk
and it works.)
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4662,6 +4662,7 @@ typedef enum { XATTRBLOCK, XATTRTERM, XTERMBLOCK, + XPOSTDEREF, XTERMORDORDOR /* evil hack */ /* update exp_name[] in toke.c if adding to this enum */ } expectation; |