Unfortunately there is a typical "too clever for perl" bug 8-(
please replace:
# while ($a ) { while (length $a ) {
otherwise qw/0 a/ will be a false positive!
If you want performance you may wanna try tr///d instead, but you will need to eval.
Cheers Rolf
In reply to Re^3: Check if a word is included in another
by LanX
in thread Check if a word is included in another
by b4swine
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |