Thanks. I looked at this site while searching for solutions but I probably skipped the section on sorting because I wasn't sorting the hash.
regards, Richard -- tmqrich...@gmail.com On Sun, Jun 16, 2013 at 3:17 AM, Peter Gordon <pete...@netspace.net.au>wrote: > On Sat, 15 Jun 2013 12:12:56 -0400, richard wrote: > >Hi > > > >I'm trying to understand the difference between the keys() and > >values () operators. What I'm not getting is why a hash must be > >reversed to get the key corresponding to a value? (as stated in > >perldoc). Can someone explain this please? > > > > > Read http://www.tizag.com/perlT/perlhashes.php > particularly the section on sort by keys & by values. > This should give you a good understanding of the > how to use them. > > -- > Peter Gordon, pete...@netspace.net.au on 06/16/2013 > > > > -- > To unsubscribe, e-mail: beginners-unsubscr...@perl.org > For additional commands, e-mail: beginners-h...@perl.org > http://learn.perl.org/ > > >