in reply to Arrays and Hashes Mapping
If I understand you correctly, perhaps something like this:
@list = ('one' , 'two' , 'three'); %hash = ( one => 1 , two => 2 , three => 3 ); @list = grep { !$hash{$_} } @list;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Arrays and Hashes Mapping
by kappa (Chaplain) on Dec 08, 2004 at 12:17 UTC |
In Section
Seekers of Perl Wisdom