Code-TidyAll
view release on metacpan or search on metacpan
lib/Code/TidyAll/Plugin/MasonTidy.pm view on Meta::CPAN
extends 'Code::TidyAll::Plugin';
our $VERSION = '0.85';
sub _build_cmd {'masontidy'}
sub transform_source {
my ( $self, $source ) = @_;
local @ARGV = shellwords( $self->argv );
local $ENV{MASONTIDY_OPT};
my $dest = Mason::Tidy::App->run($source);
return $dest;
}
1;
# ABSTRACT: Use masontidy with tidyall
__END__
( run in 0.501 second using v1.01-cache-2.11-cpan-49f99fa48dc )