in reply to Array inside hashes
Update: Ignore this. I really need to keep another window open to see who else has answered before hitting submit.%hash = (name => foo, list => [1, 2, 3]); print join "\n", (@{$hash{list}}); print "\n${$hash{list}}[1]\n"; # Print 2
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: (2) Array inside hashes
by Russ (Deacon) on Jul 23, 2000 at 07:15 UTC |