you can use my ($a1, $a2) = split '-', $line to split the ranges.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
In reply to Re: comparing ranges of numbers between 2 files
by LanX
in thread comparing ranges of numbers between 2 files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |