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

aj aj at linuxaid.org
Mon Dec 9 11:53:58 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.

A.J. Weinzettel

More information about the Pdx-pm-list mailing list