From: Magnus S. <ma...@so...> - 2002-09-12 15:38:08
|
Quoting Magnus Solvang (ma...@so...): | I miss the unless-statement in perl... How do I do this: | | if string a or b are NOT in string c, then do something and quit. | | else continue with the program. | | In perl, I would do this: | | unless ($c =~ /$a|$b/) { Doh! This is hardly the right place for php-semantics. Sorry 'bout that. - M |