in reply to %hash->{key} is valid syntax?

Yes %h->{foo} is the same thing as $h{foo}, just like @a->[2] is the same as $a[2]. It provided a way to deal with hashes and arrays without needing to learn about sigils. It was depricated in 5.8.1. I had asked a question about this a while back.

Ted Young

($$<<$$=>$$<=>$$<=$$>>$$) always returns 1. :-)