It appears that, unless I'm missing something, the indentation is off
when using the BLOCK form of the package statement, as introduced in 5.14.
For example purposes I'm using an input of:
package Foo::Bar
{
use strict;
use warnings;
use utf8;
sub foo {
say "Foo.";
}
1;
}
When I run that through perltidy, I get the following:
package Foo::Bar {
use strict;
use warnings;
use utf8;
sub foo {
say "Foo.";
}
1;
}
The odd "hanging indent" of the use statements is particularly jarring.
I would have expected something closer to the following (perhaps with
an option to match the initial listing):
package Foo::Bar {
use strict;
use warnings;
use utf8;
sub foo {
say "Foo.";
}
1;
}