in reply to Re: testing if a string is ascii
in thread testing if a string is ascii
How about using transliteration? Transliteration is marginally quicker than pattern matching.
I think your dogma got hit by some carma. How do you think using tr/// to hit every single character in a string will be faster than m// (without /g) that can immediately stop when it finds the first problem character?
- tye
|
|---|