in reply to Re^2: This is why Perl is so frustrating
in thread This is why Perl is so frustrating

We'll have to agree to diagree on this one. I find

if ( !$boolean1 and !$boolean2 ) {
harder to read, and therefore more difficult to comprehend, than
unless ( $boolean1 or $boolean2 ) {
I make this distinction because the original code was checking *two* conditions, not just one. I will agree that it's a saw-off when comparing
if ( !$boolean ) {
and
unless ( $boolean ) {
But for me, if I miss the tiny '!' character, then I have the logic backwards, which is a huge problem. I'm not going to miss the 'unless'.

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds