in reply to Re^2: Best practices and any way to have Perl Tidy clean it up
in thread Best practices and any way to have Perl Tidy clean it up

To be honest, I place the parantheses like you do, and leave the rest to Emacs' Perl mode.

  • Comment on Re^3: Best practices and any way to have Perl Tidy clean it up

Replies are listed 'Best First'.
Re^4: Best practices and any way to have Perl Tidy clean it up
by LanX (Saint) on Apr 13, 2013 at 14:56 UTC
    Additionally cperl-mode has a command to wrap long regions mapped on M-q plus an extra cperl-fill-paragraph command for comments.

    I rarely use perl-tidy, emacs has almost all of it included.

    And this kind of formatting can at best be semi-automatic since human monitoring is needed.

    Cheers Rolf

    ( addicted to the Perl Programming Language)