in reply to Re: Doublequotes in column
in thread Doublequotes in column
$Uni =~ tr/"//; # trailing 'd' has no meaning here $line =~ tr/"//; # this deletes all " characters
Sorry, but that is just wrong.
Without the "trailing d", tr/// counts, but otherwise does nothing:
$s = '"bill","1","fred"';; $s =~ tr["][];; print $s;; "bill","1","fred" $s =~ tr["][]d;; print $s;; bill,1,fred
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Doublequotes in column
by Marshall (Canon) on Dec 03, 2011 at 11:54 UTC |