When you don't provide the braces you are no longer passing a key and expecting a value. Instead you're trying to call a function!
That's why you get the error message, can't call method on unblessed reference.. because you have a hash, not an object.
In reply to Re^3: Hash reference
by monarch
in thread Hash reference
by koknat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |