in reply to Why is perltidy using indent-columns instead of continuation-indentation when breaking up a long if-line?

Perltidy is from my experience a beautiful but difficult beast. *

The product is mostly awesome but details are very hard to predict and tune.

If I were you I'd take a look into the test suite and file a bug report if your case is misinterpreted.

There is a Tk gui on CPAN to interactively try out options, but it was pretty hard to install.

In the end I'm personally just relying on Emacs indentation and formatting of my code, while using perltidy to decipher foreign products.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

*) avoiding any classic cliché "jokes" about women here ;)))

  • Comment on Re: Why is perltidy using indent-columns instead of continuation-indentation when breaking up a long if-line?

Replies are listed 'Best First'.
Re^2: Why is perltidy using indent-columns instead of continuation-indentation when breaking up a long if-line?
by torgny (Sexton) on Jan 08, 2019 at 11:42 UTC
    > If I were you I'd take a look into the test suite and file a bug report if your case is misinterpreted.

    Being new to the game, I am a bit hesitant to attribute any differences between my expectations and the actual result to a bug rather than to my own incomplete understanding.