How to apply something like --space-prototype-paren=0 but for signatures with perltidy

85 Views Asked by At

We have the following code:

sub some_method($self, %args) {
    #code here
}

When I run it trough perltidy it gets formatted like this:

sub some_method ($self, %args) {
    #code here
}

How to make perltidy to not add the space between the subroutine name and the starting parenthesis for the signature? I looked at the perltidy documentation but the closest I found was --space-prototype-paren=0 which seemingly does not work for signatures.

0

There are 0 best solutions below