in reply to Re: Re: Apocalypse 12
in thread Apocalypse 12
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 3 . 5; print 3.5;
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.print "$foo{bar}"; print "$foo {bar}";
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Apocalypse 12
by Juerd (Abbot) on Apr 20, 2004 at 09:22 UTC | |
by Abigail-II (Bishop) on Apr 20, 2004 at 09:40 UTC | |
by adrianh (Chancellor) on Apr 20, 2004 at 15:58 UTC | |
by Abigail-II (Bishop) on Apr 20, 2004 at 16:31 UTC | |
by TimToady (Parson) on Apr 20, 2004 at 19:40 UTC | |
by adrianh (Chancellor) on Apr 20, 2004 at 20:56 UTC | |
by Juerd (Abbot) on Apr 20, 2004 at 15:55 UTC |