in reply to Trimming trailing double quotes

Do you mean removing paried double quotes from a string?
$line =~ s/"([^"])"/$1/;
Or do you mean removing double quotes from the begining and end of a line?
$line =~ s/^"(.*)"$/$1/;

Replies are listed 'Best First'.
Re^2: Trimming trailing double quotes
by curtisb (Monk) on Jan 05, 2005 at 19:56 UTC
    I was meaning your second statment. That worked fine.
    However, I'm still ending up with binary garbage in my array.
    Any advice on that?
    Thanks,
    Bobby

      What does "binary garbage" mean? ....remember, garbage in, garbage out. What does the input data look like, and what are you trying to get out of it?


      Dave

      What array?