----- Original Message ----- 
From: "rory oconnor" <[EMAIL PROTECTED]>
To: "perl" <[EMAIL PROTECTED]>
Sent: Friday, April 19, 2002 4:06 PM
Subject: stripping out quotes


> I get a file of email addresses that is tab-delimited that i import into
> a mysql database.  occasionally there is an email address enclosed in
> quotes that really mucks things up.  How can I handle this?  
> 
> thanks!

if ($line =~ /\"/) { $line =~ s/\"//g; }

Where $line is whatever your variable is that has the email address


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to