View Single Post
Old 10-14-2003, 05:35 AM   #14 (permalink)
peacy
Crazy
 
Location: Reading, UK
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...
peacy is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52