Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Looking for N/A twiceby Cody Pendant (Prior) |
on Oct 22, 2007 at 04:59 UTC ( [id://646362]=note: print w/replies, xml ) | Need Help?? |
Off-topic, but I realised that you could search for two or more occurrences of a substring in a string with nested index() calls like this:
which is probably way faster than any RegEx method. Nobody says perl looks like line-noise any more
In Section
Seekers of Perl Wisdom
|
|