develooper Front page | perl.perl5.porters | Postings from April 2010

Re: RFC: Perl manual pages -- update to follow the perlstyle.pod guidelines

Thread Previous | Thread Next
From:
Tom Christiansen
Date:
April 4, 2010 05:48
Subject:
Re: RFC: Perl manual pages -- update to follow the perlstyle.pod guidelines
Message ID:
12884.1270385283@chthon
> Similarly in conditionals to make the groups stand out:

>    if ( defined $flag   or   $a == 100   or   ord $char == ... )

>compared to:

>    if ((defined $flag) || ($a == 100) || (ord($char == ...)))

You don't need all those parens.  Look at how && and || work.

--tom

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About