Perlソースの整形
Perl::Tidyモジュールを使います。
use strict; use warnings; use Perl::Tidy; my $src = 'test.pl'; my $dest; Perl::Tidy::perltidy( source => $src, destination => \$dest, ); print $dest, "\n";
use strict; use warnings; use Perl::Tidy; my $src = 'test.pl'; my $dest; Perl::Tidy::perltidy( source => $src, destination => \$dest, ); print $dest, "\n";