in reply to Re^3: perlstyle - Unclear wording
in thread perlstyle - Unclear wording
For readability, I also pull some tests into literate (readable, self-documenting) boolean names: my $nouns_match = ( $a3 == $a4 ). Then I can just refer to $nouns_match in the complicated conditional.if ( $a1 == $a2 and $a3 == $a4 and ($a5 == $a6 or $a7 == $a8) ) { }
--
[ e d @ h a l l e y . c c ]
|
---|