|
|
| Think about Loose Coupling | |
| PerlMonks |
Re^3: Benchmarking "Are all these characters in this sentence?"by martin (Pilgrim) |
| on Sep 08, 2008 at 09:43 UTC ( #709729=note: print w/ replies, xml ) | Need Help?? |
|
You're checking whether only the wantedchars are used. Not quite. It's supposed to be the other way round. The idea is to check whether $wantedchars only contains characters from $sentence.
In Section
Meditations
|
|
||||||||||||||||||||