Code::TidyAll::Plugin::Perl::IgnoreMethodSignaturesSimple - Prep Method::Signatures::Simple directives for perltidy and perlcritic
version 0.03
use Code::TidyAll::Plugin::Perl::IgnoreMethodSignaturesSimple
This tidyall plugin uses a preprocess/postprocess step to convert Method::Signatures::Simple (method and function) to specially marked subroutines so that perltidy and perlcritic will treat them as such, and then revert them afterwards.
method
function
The postprocess step also adds an empty parameter list if none is there. e.g. this
method foo {
becomes
method foo () {
Questions and feedback are welcome, and should be directed to the author.
Bugs and feature requests will be tracked at RT:
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Code-TidyAll-Plugin-Perl-AlignMooseAttributes bug-code-tidyall-plugin-perl-alignmooseattributes@rt.cpan.org
The latest source code can be browsed and fetched at:
http://github.com/jonswar/perl-code-tidyall-plugin-perl-alignmooseattributes git clone git://github.com/jonswar/perl-code-tidyall-plugin-perl-alignmooseattributes.git
perltidy
Jonathan Swartz <swartz@pobox.com>
This software is copyright (c) 2012 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.
To install Code::TidyAll::Plugin::Perl::IgnoreMethodSignaturesSimple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Code::TidyAll::Plugin::Perl::IgnoreMethodSignaturesSimple
CPAN shell
perl -MCPAN -e shell install Code::TidyAll::Plugin::Perl::IgnoreMethodSignaturesSimple
For more information on module installation, please visit the detailed CPAN module installation guide.