-Original Message-
From: Offer Kaye [mailto:[EMAIL PROTECTED]
Sent: Monday, March 28, 2005 12:17 PM
To: Perl Beginners
Subject: Re: Problems matching or parsing with delimiters in text
On Mon, 28 Mar 2005 11:13:05 -0500, KEVIN ZEMBOWER wrote:
> I'm trying to read in text line
Offer, Chris and Jose, thank you all very much for the help. I was aware of
Text::CSV and it's brothers, and have even used them successfully in other
programs. I can't remember what I was thinking here. I may have even started
with Text::CSV, but then discarded it because I thought it was malfu
On Mon, 28 Mar 2005 11:13:05 -0500, KEVIN ZEMBOWER wrote:
> I'm trying to read in text lines from a file that look like this:
[...snip...]
As others have said, you really should use a module. For completness,
here's a solution using Text::CSV::Simple ("datafile" holds the data
you gave in the ques
On Mon, 28 Mar 2005, KEVIN ZEMBOWER wrote:
> I'm trying to read in text lines from a file that look like this:
> "B-B01","Eng","Binder for Complete Set of Population Reports",13,0
> "C-CD01","Eng","The Condoms CD-ROM",12,1
> "F-J41a","Fre",,13,1
> "F-J41a","SPA",,13,1
> "M-FC01","Eng","Africa Flip
> -Message d'origine-
> De : KEVIN ZEMBOWER [mailto:[EMAIL PROTECTED]
> Envoyé : lundi 28 mars 2005 18:13
> À : beginners@perl.org
> Objet : Problems matching or parsing with delimiters in text
>
> I'm trying to read in text lines from a file that look like this:
> "B-B01","Eng","Binder