in reply to Difference between tr/// and s///?

As you say, both work. One might use  tr/// because character translation is probably a faster process than regexp match/substitution.

Update: Abigail is correct. Pay no attention here.

-Mark

Replies are listed 'Best First'.
Re: Re: Difference between tr// and s///?
by calin (Deacon) on Feb 06, 2004 at 10:46 UTC
    Update: Abigail is correct. Pay no attention here.

    Au contraire, you're dead on correct. See my reply above.