I remember hitting some obscure bug in my Tk code because of something like that. With Tk it's even worse, because sometimes it will let you get away without the '-', and sometimes it won't. It's been a long time, so I don't remember what the rule was for that.
Reminds me of Tk (Score:2)