Is it possible to have #perltidy not double-indent when I do multiple opens in a row, like:

```
$self->foo(sub {
<--><--># This should be one dent deep!
```

-mci doesn't seem to affect this unfortunately

#perl

Nothing beats #Perl for not disallowed data hoarding! I may be able to finish the download of the #mysql view of Ensembl release 115 with nothing but 300 lines of #perltidy nicely formatted #Perl code. I had not done any web automation stuff in decades but I rebounded quickly.
Nothing beats #Perl for not disallowed data hoarding!
I may be able to finish the download of the #mysql view of Ensembl release 115 with nothing but 300 lines of #perltidy nicely formatted #Perl code.
I had not done any web automation stuff in decades but I rebounded quickly.
Nothing beats #Perl for not disallowed data hoarding!
I may be able to finish the download of the #mysql view of Ensembl release 115 with nothing but 300 lines of #perltidy nicely formatted #Perl code.
I had not done any web automation stuff in decades but I rebounded quickly.
Nothing beats #Perl for not disallowed data hoarding!
I may be able to finish the download of the #mysql view of Ensembl release 115 with nothing but 300 lines of #perltidy nicely formatted #Perl code.
I had not done any web automation stuff in decades but I rebounded quickly.

I would love to do more #Perl and #RakuLang coding. Have done some Perl over the last couple of weeks again. But what brings me back to #Ruby most of the time is the better #LSP support for my Editor. E.g. renaming variables, code-actions, etc. That's just a superior experience :-( #PerlNavigator and #perltidy are OK, but not perfect.

Will soon publish a new blog post about "Perl new features" and how I used them.

@deflarerOfClouds #GitHub has hosted #PerlTidy development for a long time. Please continue to file bug reports there: https://GitHub.com/perltidy/perltidy/issues

You might even consider making a reasonable case to move the project’s remaining assets off #SourceForge. Impotently whinging about it here doesn’t change anything.

/ @ChristosArgyrop @ovid @perl #Perl

Issues Β· perltidy/perltidy

Perl::Tidy, a source code formatter for Perl. Contribute to perltidy/perltidy development by creating an account on GitHub.

GitHub
The Perltidy Home Page

@eliasp @ColinTheMathmo BTW #Perl has two well-known tools to encourage and enforce #programming style and best practices, respectively:
β€’ #PerlTidy: https://perltidy.github.io/perltidy
β€’ #PerlCritic: http://perlcritic.com

Your project or team can use their reasonable defaults or further configure them to reflect and maintain the consistent application of your preferences. They also integrate with editors/IDEs, source control management, and author #testing.

@ovid Either of the perltidy options:

-nwrs='A'

or

--no-want-right-space='A'

ought to do it. β€œA” is the token #perltidy uses for #Perl attribute separators according to the output of `perltidy --dump-token-types`.

Feel free to put either in your .perltidyrc file. I prefer to use long option names as they’re more self-documenting or at least easier to search for.