Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Why does perltidy mess up whitespace before inline comments and equals?

by Eily (Monsignor)
on Oct 20, 2014 at 12:00 UTC ( [id://1104423]=note: print w/replies, xml ) Need Help??


in reply to Why does perltidy mess up whitespace before inline comments and equals?

-msc=n, --minimum-space-to-comment=n
Side comments look best when lined up several spaces to the right of code. Perltidy will try to keep comments at least n spaces to the right. The default is n=4 spaces.
I don't know how to align assignments though.

  • Comment on Re: Why does perltidy mess up whitespace before inline comments and equals?

Replies are listed 'Best First'.
Re^2: Why does perltidy mess up whitespace before inline comments and equals?
by LanX (Saint) on Oct 20, 2014 at 12:20 UTC
    > don't know how to align assignments though.

    Neither me, could be a default w/o config option.

    Cheers Rolf

    (addicted to the Perl Programming Language and ☆☆☆☆ :)

      To clarify, the lining up of assignments is automatic (and most agreeable). The only time it doesn't happen is when it would make the line too long.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2024-04-16 18:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found