On Thu, 28 Jun 2007 15:30:33 +0300 "Ernst, Yehuda" <[EMAIL PROTECTED]> wrote:
> Hello! > > I want to manage a list with 3 key items > > i want ( adders , name , title = > phone) > i need to check my list and only if the 3 matches i need to extract > the phone number can i do it with hash or i need something else? Hi, You probably want to concatenate the keys together, ie. my $key = join "-",$adder,$name,$title; $hash{$key}="666"; etc. -- Tal Kelrich PGP fingerprint: 3EDF FCC5 60BB 4729 AB2F CAE6 FEC1 9AAC 12B9 AA69 Key Available at: http://www.hasturkun.com/pub.txt ---- If the human brain were so simple that we could understand it, we would be so simple we couldn't. ----
signature.asc
Description: PGP signature
_______________________________________________ Perl mailing list Perl@perl.org.il http://perl.org.il/mailman/listinfo/perl