in reply to print hash elements
[22] is an array reference. Leave off the square brackets if you want the literal 22 as the value. This is a very valuable resource.