in reply to Re: Common hash keys
in thread Common hash keys
There's no need to be careful if you handle the 0 case directly:
use List::Util; my $hasInt = defined first { exists $hashRef2->{$_} } keys %$hashRef1 ;
lodin
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Common hash keys
by BrowserUk (Patriarch) on Jun 08, 2008 at 07:11 UTC | |
by tinita (Parson) on Jun 08, 2008 at 12:11 UTC | |
by BrowserUk (Patriarch) on Jun 08, 2008 at 15:51 UTC |
In Section
Seekers of Perl Wisdom