Hi there,

I am attempting to parse the following output and not quite sure how to do it. The text is in columns and spaced out that way regardless if there are 0 numbers in say col5 or Col 6 or not. If the column has an entry then I want to save it to a variable if there is no entry then that variable will be equal to 'blank'

The first line is a header and can be ignored.


C Col2 C Col4 Col5 Col6 Col7 Col8 <<<new_line>>>
* 123.456.789.101/85 A 803                        Reject  <<<new_line>>>
B 804 76 10 >800.99.999.0 98765 78910 I <<<new_line>>> O 805 1234 1 >800.9.999.1 98765 78910 I <<<new_line>>>



Any assistance is helpful.

Cheers

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to