in reply to Spoken Perl: and || && or what?
Personally the only time I intentionally use the short ciruiting behaviour of && or || as conditionals is within a condition of an if. ie I will write:
which I (of course) don't think about in the same way that I would in a different context. Instead I (like tachyon) use the:if ($cond_1 && $cond_2) { # Do something }
form because I like the way it reads better.print if /match/;
|
|---|