Update: I guess that I do need the braces after all, as davis noted I didn't run the code. Sorry.my %in_a; my %in_b; undef @in_a{@a}; undef @in_b{@b}; @a = grep {not exists $in_b{$_}} @a; @b = grep {not exists $in_a{$_}} @b;
In reply to Re: Remove similar elements in both the array
by tilly
in thread Remove similar elements in both the array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |