in reply to Re: Optimizing a string processing sub
in thread Optimizing a string processing sub
I like your approach.
Your first example does exactly what his does with one exception: it won't behave the same in list context.
I suspect that your second example is really the desired behavior anyway (as it is commutative.)
-sauoq "My two cents aren't worth a dime.";
|
|---|