X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bin%2Fperltidy;h=0822508e06a5955aacc9b0fc4ae7b93d17055a4f;hb=7272c75ca797879bc1a6bb26ad0f82b89255104a;hp=24870fdc9d5d81f9a8195f1f7249a9aceb5764b8;hpb=1ad0cf5e89247ce1a7d60872576ae14aaaee6e67;p=perltidy.git diff --git a/bin/perltidy b/bin/perltidy index 24870fd..0822508 100755 --- a/bin/perltidy +++ b/bin/perltidy @@ -1860,9 +1860,9 @@ return lists, such as C and . This allows chains of these operators to be displayed one per line. Use B<-nbok> to prevent retaining these breakpoints. -=item B<-bot>, B<--break-at-old-trinary-breakpoints> +=item B<-bot>, B<--break-at-old-ternary-breakpoints> -By default, if a conditional (trinary) operator is broken at a C<:>, +By default, if a conditional (ternary) operator is broken at a C<:>, then it will remain broken. To prevent this, and thereby form longer lines, use B<-nbot>. @@ -1967,6 +1967,18 @@ style overrides the default style with the following parameters: -lp -bl -noll -pt=2 -bt=2 -sbt=2 -icp +=item B<-pbp>, B<--perl-best-practices> + +B<-pbp> is an abbreviation for the parameters in the book B +by Damian Conway: + + -l=78 -i=4 -ci=4 -st -se -vt=2 -cti=0 -pt=1 -bt=1 -sbt=1 -bbt=1 -nsfs -nolq + -wbb="% + - * / x != == >= <= =~ !~ < > | & >= < = + **= += *= &= <<= &&= -= /= |= >>= ||= .= %= ^= x=" + +Note that the -st and -se flags make perltidy act as a filter on one file only. +These can be overridden with -nst and -nse if necessary. + =back =head2 Other Controls @@ -2607,7 +2619,7 @@ perlstyle(1), Perl::Tidy(3) =head1 VERSION -This man page documents perltidy version 20060614. +This man page documents perltidy version 20060719. =head1 CREDITS