[Bioperl-l] SVN and ...Re: Perltidy

David Messina dmessina at wustl.edu
Mon Jun 18 14:54:31 UTC 2007


[Chris F]
> Will do.  Maybe something that conforms to PBP; there's a PBP
> perltidy config on perlmonks, along with some emacs/vim related bits:
>
> http://www.perlmonks.org/?node_id=516501


FYI, perltidy now has a built-in -pbp flag:

[from perltidy-20070508]
> -pbp, --perl-best-practices
> -pbp is an abbreviation for the parameters in the book Perl Best  
> Practices 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.
>
[full docs here: http://search.cpan.org/~shancock/Perl-Tidy-20070508/ 
bin/perltidy]


Dave




More information about the Bioperl-l mailing list