On 6/28/07, 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?
I guess you have the information in some sort of file or database so if you managed to extract the 4 pieces of information you can then write: my %phonebook; loop_over_file { $phonebook{$address}{$name}{$title} = $phone; } Gabor -- Gabor Szabo http://www.szabgab.com/ Perl Training in Israel http://www.pti.co.il/ _______________________________________________ Perl mailing list Perl@perl.org.il http://perl.org.il/mailman/listinfo/perl