in reply to Checking for defined-ness for a list
%hash = ( A => 'that', B => 'those', C => 'groovy', D => 'artichoke', E => undef, F => 'flipping', ); @check = qw( A D F ); # change to 'E' or 'Z' to see if (@check == grep defined, @hash{@check}) { # ok }
_____________________________________________________
Jeff japhy Pinyan:
Perl,
regex,
and perl
hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;
|
|---|