-------- Original Message --------
Subject: Problem
Date: Fri, 09 May 2003 18:51:59 +0530
From: Parvez Pathan <[EMAIL PROTECTED]>
To: Perl-Unix-Users
<[EMAIL PROTECTED]>

Hi Everybody,

    I have a small question?
        Can I retrieve the key from the hash if I
have the value?
    eg. %fruit = (
         apples  => 3,
         oranges => 6
     );
    I can retrieve '3' using  $fruit{"apples"};
    Can I do something reverse without creating a
new hash?


Thanx and Regards,
Parvez
_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to