Oct 17, 2000, 6:49 AM
Post #2 of 2
that should work, I would think. But you can try this, it will work guaranteed. If you still have a problem, then you need to look elsewhere in your code.
Re: How to substitute double quotes
[In reply to]
$variable =~ tr/"//d;
This is the transliterate operator. The d at the end specifies to delete all the quotes. Learning Perl, the llama book has a section on this in chapter 15 that you may want to look at, or if you have Programming Perl, 3rd edition, you can read up on it in chapter 5. If you don't have some perl books, go get them.