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 /perly.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 'perly.h')
-rw-r--r-- | perly.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -266,6 +266,6 @@ typedef union YYSTYPE /* Generated from: - * 5b290f371f373fb17e073f602c676e436e9d457a1d4db67d192e3cfa0eeb36d7 perly.y + * 3291ccd173f79d1ee1490bd5e07445713edcf8cbb091ae54165016bd846e2682 perly.y * 5c9d2a0262457fe9b70073fc8ad6c188f812f38ad57712b7e2f53daa01b297cc regen_perly.pl * ex: set ro: */ |