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
harder to read, and therefore more difficult to comprehend, thanif ( !$boolean1 and !$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 comparingunless ( $boolean1 or $boolean2 ) {
andif ( !$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'.unless ( $boolean ) {
|
|---|