[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.
In reply to Re: print hash elements
by GotToBTru
in thread print hash elements
by hello_beginner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |