in reply to incrementing hash values

How do you preform operations on the array then. For example, how would you do scalar. Also how do you print individual array elements without foreach? Thanks for the help.