Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by hdb (Monsignor)
on Apr 13, 2013 at 14:37 UTC ( [id://1028522]=note: print w/replies, xml ) Need Help??


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)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-18 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found