On 12 Apr 2006 at 9:28, Mr. Shawn H. Corey wrote: if (defined($ary_users->[$i]->{$lc_surname}) ) { > > if( defiend( $ary_users->[$i]{lc_surname} ) && > $ary_users->[$i]{lc_surname} eq 'anderson' ){ > Thanx, it works (typo defiend).
So there isn't a way to grep all the surnames out of the array of hashes? I was hoping that there would be a way to do it without looping and testing....alas. Thanx again. Dp. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>