in reply to Optimizing hash lookups
You should also use exists instead of defined for hash keys.
Your code also has a few errors.. Not sure if you just copied this by hand or if this is actual code. I'm going to assume the former, but I'll give you a list if it's the latter.
|
|---|