[Pdx-pm] Simplistic, yet complicated to me question....

A.J. Weinzettel aj at ajscomputerbug.com
Mon Dec 9 11:32:50 CST 2002


I am parsing a text file and I have the following layout of text


123454 text                67890 Get Rid of text
234555 more text to keep

My first idea is to substitue two spaces with nothing 
( $line =~ s/  //g) and then try to do some sort of split on the
resulting.  I am sure there is a better way of doing this, but not
having too much luck finding an answer.  Any suggestions would be
greatly appreciated.

Thanks,
A.J. Weinzettel
aj at ajscomputerbug.com




More information about the Pdx-pm-list mailing list