is represented in RPN as:$foo{bar}[ blat(\%foo) ] = { a => 'fool' };
Oh, note that:foo$ bar {} foo%\ blat [] (a => 'fool') {} =; # or, if you feel better binding things a little closer... foo$ bar{} (foo%\ blat)[] (a => 'fool'){} =;
is COMPLETELY different from:foo$ x$[] # $foo[$x]
But the parser will know how to differentiate, due to syntax rules:foo$ x$[] = # $foo = [$x]
# what is: foo$ x$[] y$[] =; # is it... $foo[$x] = [$y]; # or... $foo = [$x][$y]; # it can't be the second (since that's a syntax error)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reverse Perlish Notation
by extremely (Priest) on Feb 16, 2001 at 11:54 UTC | |
|
Re (tilly) 1: Reverse Perlish Notation
by tilly (Archbishop) on Feb 16, 2001 at 08:04 UTC |