Dear Monks,
I have searched without joy for the answer to the following: print [("foo","bar")]->[1] returns bar, as I'd expect.
Unfortunately, print {("foo","bar")}->{foo} returns syntax error at -e line 1, near "}->".
$h = {("foo","bar")}; print $h->{foo} works fine - so what am I doing wrong?