How can I compose a pattern for strings which _don't_ contain "stuff"?

My code contains $x =~ $pattern; I can't change this. Now I must define my $pattern to determine whether $x _doesn't_ contain "stuff".

I've been over perlrequick and perlretut, but all examples of "doesn't contain" use a negative operator (!~) instead of a negative expression.

Many thanks for any help!

Jack


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to