Syntactic Confectionery Delight | |
PerlMonks |
Re: regex return true instead of false (precedence)by LanX (Saint) |
on Aug 26, 2019 at 11:46 UTC ( [id://11105061]=note: print w/replies, xml ) | Need Help?? |
your ! has higher precedence than =~ , please note the (parens) due to -p flag in B::Deparse
I'd say either use not instead of ! or just !~ instaed of =~ and I'd also recommend using and instead of &&
EDITyou might be interested in reading Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|