in reply to Comparing Two Arrays
use Set::Scalar; $s = Set::Scalar->new( 2, 4, 6, 8, 10); $t = Set::Scalar->new( 1, 2, 3, 4, 5); $d = $s->symmetric_difference($t); print $d, "\n";
-Mark
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Comparing Two Arrays
by goober99 (Scribe) on Feb 23, 2005 at 22:30 UTC |