Ubuntu Manpages

Code::TidyAll::Plugin::PerlTidySweet

Use perltidy-sweet with tidyall

version 0.32

   # In configuration:
   ; Configure in-line
   ;
   [PerlTidySweet]
   select = lib/**/*.pm
   argv = --noll
   ; or refer to a .perltidyrc in the same directory
   ;
   [PerlTidySweet]
   select = lib/**/*.pm
   argv = --profile=$ROOT/.perltidyrc

Runs perltidy-sweet, a Perl tidier based on Perl::Tidy that also supports new syntactic sugar as provided by Method::Signature::Simple, MooseX::Method::Signatures and the p5-mop.

Install perltidy-sweet from CPAN.

    cpanm Perl::Tidy::Sweet

Arguments to pass to perltidy-sweet

Code::TidyAll

  • Jonathan Swartz <swartz@pobox.com>
  • Dave Rolsky <autarch@urth.org>

This software is copyright (c) 2011 - 2015 by Jonathan Swartz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.