print 3 . 5;
print 3.5;
I fail to see your point here. In the first line, there are 5 tokens, 'print', '3', '.', '5', and ';'. In the second line there are 3 tokens, 'print', '3.5', and ';'.
print "$foo{bar}";
print "$foo {bar}";
Indeed, and something that doesn't make me very happy. Luckely this is a problem that is usually found by the compiler, assuming you have 'strict' turned on, and don't
have a scalar with the same name as the hash.
And yes, I know certain people hate it. They can write their own grammar.
Oh, I read that. Do you think that if people start writing their own grammars (of which I haven't seen any indication that it will be anything but hard to get it right) that that will produce maintainable code?
Abigail