Jim Gibson <jimsgib...@gmail.com> writes: > my @original_keys = @{$inv_hash{$inverted_key}}; > > The element of the inverted hash is an array reference. The array is fetched > (copied into @original_keys) by de-referencing the reference. If there was > only key with the value $invereted_key, then the array @original_keys will > have only one element.
It works just like you thought it would. Thanks. That's one way to get that information. I can say too, I might actually be STARTING to understand a little bit about hashs and now hash references. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/