i am dealing a with a csv file which is full of lines like these
"ATSMM","CCC","43 676 017111 / 017113"
"AERCM","XXX","54 320071 0900 / 0999"
and at the moment the script im using is able to recognize the number before the "/" and the number after it.
my ($data, $start, $end) = m|(.* )(\d+) / (\d+)|;
the code above saves in $data the text before the number in front of the "/" the number before the / in $start and the number after in $end. My plans to sort this was to put each number which is in $start in an arrary1 and each number which is stored in $end in array2. This is aimed to seperate each number digit by digit so i can list down a range.
i am using perl scripts but any other options are welcome.
Thanks !!
Text::CSV.push @starts, $start; push @ends, $endor am I completely misunderstanding the problem statement?push @ary, [ $2, $3 ];