Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by LanX (Archbishop)
on Jan 07, 2019 at 15:47 UTC ( #1228148=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1228148]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2019-11-12 23:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (66 votes). Check out past polls.

    Notices?