L
Leif Wessman
I would like to remove the complete entry in an array if the value of
the entry matches any of the values in another array.
Like this:
use strict;
use warnings;
my @names ("bob","barney","-","lisa","UNKNOWN");
my @delete ("-","unknown");
....
result should be that @names contains only bob, barney and lisa.
Thanks for any input!
Leif
the entry matches any of the values in another array.
Like this:
use strict;
use warnings;
my @names ("bob","barney","-","lisa","UNKNOWN");
my @delete ("-","unknown");
....
result should be that @names contains only bob, barney and lisa.
Thanks for any input!
Leif