On Wednesday 18 February 2009 22.04.27 Dana Hudes wrote: > The spelling issue in hash is resolved with the "use fields" pragma. That > requires you predeclare (horrors!) your hash keys.
That is in no way different from using strict and having to declare your variables. It might heavy but in no way horrible. And no, because I know that's the next smart thing I'm going to have to answer, I wouldn't declare array indexes. I've avoided using 'fields' till now because I didn't understand what impact it may have on run time (which is I guess negligeable) and all the nasty references to pseudo-hashes in the documentation. Anyone who hasn't mistyped a hash key can throw the first stone at 'fields'. Nadim.