Perltidy:将 sub($args){} 保持为单行的选项?

Perltidy: an option to keep sub($args){} as a single line?

$fs->traverse('/foo')->filter(sub ($name, $dir) { $name !~ /^\./; });
$fs->traverse('/foo')->filter(sub { $_[0] !~ /^\./; });

是否有任何选项可以保持第一行不变?因为 -pbp perltidy 由于签名功能将其分成 5 行。

perltidy -fnl ("If you do not want any changes to the line breaks within lines of code in your script") 似乎有效,但我不确定您希望其余代码看起来如何。

https://metacpan.org/pod/distribution/Perl-Tidy/bin/perltidy#Line-Break-Control