in reply to Accessing Hashes
into:foreach (@{$hash{test}}) { print "$_\n"; }
you would be printing the keys and values each on a line. The "Not an ARRAY reference" error that you were receiveing was becuase of "@" as opposed to "%".foreach (%{$hash{test}}) { print "$_\n"; }
|
|---|