in reply to Dereferencing a hash reference to a Hash of Arrays


You can dereference the array ref like this:     @{$sort->{23}};

To check if a certain column contains a certain value you could do something like this:     my $found = grep {/^$search$/}  @{$sort->{$column}};

--
John.