You need to store a reference in your array else you will flatten your hash
change
push @tests, %tests;
to
push @tests, \%tests;
Then you want to dereference
change
my %tests = $_;
to
my %tests = %$_
| Mynd you, mønk bites Kan be pretti nasti... |
In reply to Re: Using an array of hashes
by grep
in thread Using an array of hashes
by Amidamaru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |