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.