in reply to Array names
So then $hash{'abacus'} and $hash{'qwerty'} are array references you can read like:$hash{'abacus'} = ([1,2,3,4,5]); $hash{'querty'} = ([6,7,8,9,10]);
Then you also have the advantage of easy access to all your array "names" by using keys %hashprint $hash{'abacus'}[0]; # Prints "1" print $hash{'qwerty'}[1]; # Prints "7"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: Array names
by Anonymous Monk on May 11, 2000 at 10:27 UTC | |
by chromatic (Archbishop) on May 11, 2000 at 19:06 UTC |