Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们有以下代码:
sub some_method($self, %args) { #code here }
当我通过 perltidy 运行它时,它的格式如下:
sub some_method ($self, %args) { #code here }
如何确保不在子例程名称和签名的起始括号之间添加空格?我查看了 perltidy文档,但我发现的最接近的文档--space-prototype-paren=0似乎不适用于签名。
--space-prototype-paren=0