Four easy step:
You can click on the default unformatted code above to see the effect.
Perl formmatter is beautify your minified perl code, this make your perl code more readable.
It also makes it easier for developers to read other developers codes as well.
Code before formatting
sub example_function {
my ($arg1,$arg2)=@_;
my $result=$arg1+$arg2;
print "The result is $result\n";
}
Formatted codesub example_function {
my ( $arg1, $arg2 ) = @_;
my $result = $arg1 + $arg2;
print "The result is $result\n";
}