in reply to Re^2: regex return true instead of false (precedence)
in thread regex return true instead of false
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
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
|---|