On 09/03/06, Tom Phoenix <[EMAIL PROTECTED]> wrote: > Although it's tempting to use a pattern match for this, that's not the > right tool for the job. To see whether a string contains a given > substring, check whether the return value of index() is not -1.
Can you expand on that thought? What is a pattern match good for if it isn't for finding a substring in a string? I'm missing your point. (and trying not to hijack the thread) {a completely different} Brian -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>