i have a hash that looks like this :

abc => 123 456 789 246 346 8765
deh => 123 456 258 246 346 8765
nyx => 123 456 149 246 346 8765
pob => 123 456 354 246 346 8765
syt => 123 456 924 246 346 8765

already sorted by the key (the first field above).

i want to do some simple math based on the values of the third field.  

for example, replace the value of 789 in the first record above with 1578 
(twice it's value) or print out any hashes that have a value in the third 
field that is less than 500.  

this is easy enough to do with arrays, but i have so far been unsuccessful 
finding how to manipulate individual "elements" in hashes.

suggestions?

thanks

joe




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to