in reply to
string does not contain
Hi ,
$string !=~ /hello/ or unless($string =~ /hello/)
[download]
or that implies if not or a negate logic shall work for the not parsing a string value
Comment on
Re: string does not contain
Download
Code
Replies are listed 'Best First'.
Re: Re: string does not contain
by
petral
(Curate)
on Jan 22, 2003 at 23:50 UTC
Close.   Actually,
$string !~ /hello/
  or
! ( $string =~ /hello/ )
 
p
[reply]
[d/l]
[select]
In Section
Seekers of Perl Wisdom