Take a look at the following:
-- Ken
In reply to Re: parsing a line with $1, $2, $3 by kcott in thread parsing a line with $1, $2, $3 by kevyt