sorry ... is impossible to see in my previous message the -> [] then with square brackets visible is : sub diff_2 { my @diff = grep /[[^@{$_[0]]}]/, @{$_[1]}; return \@diff; } Marco
In reply to Re^3: Need to Create an Array of Differences
by Anonymous Monk
in thread Need to Create an Array of Differences
by scottj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |