When one thinks of a text delimited file, usually not always, then the fields
would have double quotes around the fields that would have commas in them. There are
modules from CPAN which then can break out the data for you if you don't want to do it
yourself.
Wags ;)
-----Original Message-----
From: Allison Davis [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 06, 2001 08:30
To: perl
Subject: Delimited Text File
Can someone tell me how your delimited text file should look like? Mine is
coming across as the input fields separated by commas, but this producing a
problem when someone is entering a number with a comma in the entry file ie:
10,000.
My text file looks like this:
name,address,city,state,zip,polulation,etc.
Can each filed be separated by a comma and something else like
{name},{address},{etc or |name|,|address|,|city|,
Thanks
Allison
P.S. I import this file into a loan program that calls for a delimited text
file. I am Unix based.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]