in reply to Re: Can't see the syntax error here...
in thread Can't see the syntax error here...
Amazing!
I think I would searched for this for years, but once I see your explanation, it becomes clear.
BTW, the reason why I thought it would be related to sub is that the similar code
works fine, but of course now this is clear too: In the latter case, there is no ambiguity, so it is correctly parsed as a hash. Thanks a lot for helping!my $f={$xnix => 100}->{'X'};
|
|---|