scottj has asked for the wisdom of the Perl Monks concerning the following question:
This method is crude and slow, but it does seem to work. I have done many searches on this site on arrays and sorting, and I get the feeling that there is a method for achieving my desired results in a faster, more concise manner. Can anybody help me?for my $a (@a) { unless (grep(/^$a$/,@b)) { push(@c,$a); } }
|
|---|