Keep It Simple, Stupid | |
PerlMonks |
Re^3: regex return true instead of false (precedence)by LanX (Saint) |
on Aug 26, 2019 at 16:59 UTC ( [id://11105073]=note: print w/replies, xml ) | Need Help?? |
I agree that it's better to over use brackets than forgetting them. On the other hand there's a good reason why Perl has that many operators. And, not, or won't bite you in Boolean expressions because they have the lowest precedence. (But I use brackets when combining them, I need a complicated mnemonic to remember that and has higher precedence than or) And !~ is really underused.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|