in reply to comparing ranges of numbers between 2 files
you can use my ($a1, $a2) = split '-', $line to split the ranges.
Cheers Rolf (addicted to the Perl Programming Language and ☆☆☆☆ :) Je suis Charlie!