- or download this
perl -le '@x = qw(a b c d e f);
@y = qw(a d f);
...
print "Count of elements in (@y) that are NOT present in (
+@x) = $n"
'
Count of elements in (a d f) that are NOT present in (a b c d e f) = 0
- or download this
____DATA_____
b c a
...
e f g
g d f
h i g
- or download this
a b c
a b d c
e f d g
- or download this
component 1 = a b c
induced = b c a
...
component 3 = e f d g
induced = e f g
g d f