Welcome to the Monastery | |
PerlMonks |
RE: RE: A minor epiphany with grep and mapby ase (Monk) |
on Jul 27, 2000 at 13:31 UTC ( [id://24649]=note: print w/replies, xml ) | Need Help?? |
Hmmmm.... I see your point. @{$x->{y}} _is_ probably a better way to clarify this to the parser(and to the poor soul who has to maintain the code somewhere down the line- probably me.) Looking at perlop, I'm a little confused as to _why_ it works myself. Quoting from the Docs: (with my comments not in <code> tags)
..It seems this describes the situation.. It seems somehow the -> is binding before the @ in @$x, contrary to what I see in perlop I guess I should consider it a _feature_. Thank you, chip for noticing something that I completely glossed over. Good brain food. -ase
In Section
Meditations
|
|