![]() |
|
There's more than one way to do things | |
PerlMonks |
Re: Re: Reading in data that isby mikeB (Friar) |
on Oct 10, 2001 at 20:09 UTC ( #118031=note: print w/replies, xml ) | Need Help?? |
I'm curious why you used
s/"//g; rather than tr/"//d;
I don't advocate speed optimization at the expense of clarity, but in this case both seem clear to me, and I'd expect tr/// to not use the regex engine and thus be faster.
In Section
Seekers of Perl Wisdom
|
|