On May 6, Darryl Schnell said: >Please forgive the stupidity of this question but I'm stumped and need >to get this program finished. I am currently working on a program that >will select information from two databases. The program puts both into >hashes and compares the two lists.
You're not using hashes, you're using arrays. It's a good thing to get straight. >The two tables are not the same length however my first if statements >will end the process after it reaches the end of the table. That's because of your conditional: while ($i <= $#emailname && $j <= $#sub_name) { Maybe you want || instead of &&? Also, why not avoid your arrays altogether, and process one element at a time? This might be a good tactic if your database queries return a lot of data. -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ ** Look for "Regular Expressions in Perl" published by Manning, in 2002 ** <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. [ I'm looking for programming work. If you like my work, let me know. ] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]