Re: Choice of methods...

2002-12-02 Thread Jenda Krynicky
From: Ramprasad A Padmanabhan <[EMAIL PROTECTED]> > Do not try to parse a csv yourself from the scratch use > Text::ParseWords to convert every line to an array I believe you meant Text::CSV or Text::CSV_XS. Text::ParseWords is for shell-like parsing. From: Ben Crane <[EMAIL PROTECTED]> > But my

Re: Choice of methods...

2002-12-02 Thread Ramprasad A Padmanabhan
Do not try to parse a csv yourself from the scratch use Text::ParseWords to convert every line to an array Using hashes you can do lot of manipulations better than arrays but I can not comment unless I cn see your requirement Ben Crane wrote: Hi all, I have to convert a standard CSV file (n

Choice of methods...

2002-12-02 Thread Ben Crane
Hi all, I have to convert a standard CSV file (nothing special) into a specific custom-defined format...now, I've decided to do it in perl because perl is just lovely with txt files. But my one question is, since I'm reading a line from an array (which has the contents of the CSV in it) and perfor