Quote:
Originally posted by ratbastid
Not when you're working with a hashref, it's not. The hash reference $rates must be "hashified" by spelling it %$rates as an argument to the keys() function. Otherwise you're talking about the HASH %rates which, in this code snippet, is undefined.
|
Ok... From the original code I didn't realize (at first sight) that it's a ref... Should've known it...