summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2013-07-05 01:10:08 -0700
committerRicardo Signes <rjbs@cpan.org>2013-10-05 14:20:08 -0400
commit89f3591148a8f1ca21a2faaed697cfa194632816 (patch)
tree84359a06a80f5705c64334235f13c85f191c3462 /perl.h
parentb9ff0c4900019af7a99b75cd3befc2a4b62c4321 (diff)
downloadperl-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index 5047b84733..b40f141d1e 100644
--- a/perl.h
+++ b/perl.h
@@ -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;