in reply to array difference
Hi try this with set::Scalar module,
use Set::Scalar; @a = (1, 2, 3, 4, 5, 6); @b = ( 3, 4 , 5, 6, 7, 8); $a = Set::Scalar->new(@a); $b = Set::Scalar->new(@b); print $b->difference($a); [download]
Regards, Gubendran.L