> Thanks. I got lots to learn about perl, thinking
> for the 2 hours I was trying to solve my issue
> with chomp and split. I have began disecting your
> reponse to learn from it. One question, the last
> print statement:
>
> print $_ . "\n";
since ($Jonathan eq "Fool") {
Opps... I've abondone
nothing is displayed
Regards,
Dave
-Original Message-
From: Jonathan E. Paton [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 16, 2002 6:40 PM
To: [EMAIL PROTECTED]
Subject: Re: Cleaning poorly formated csv files
> Im new to perl and this list. I am trying to
> create a script th
> Im new to perl and this list. I am trying to
> create a script that cleans up csv files in
> the following ways:
search.cpan.org
There is a CVS module someplace, which might do
what you require with less hassle... or might
not.
> -Remove tab characters
> -Remove trailing commas
tr/\t//d; #