in reply to %Hashing Arrays
You could make this a hash of array references, like this:
my %station_data = ( 1 => \@station1, 2 => \@station2, 3 => \@station3, 4 => \@station4, 5 => \@station5, 6 => \@station6, 7 => \@station7, 8 => \@station8, 9 => \@station9, );
For example, if you need to access the second element inside @station5, through the new %station hash, you would say:
print $station_data{5}[1];
|
|---|