Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^3: Your Favorite Options for Perltidy

by pboin (Deacon)
on Nov 06, 2005 at 11:54 UTC ( #506102=note: print w/replies, xml ) Need Help??

in reply to Re^2: Your Favorite Options for Perltidy
in thread Your Favorite Options for Perltidy

Nothing's *automatic* per se. Perltidy is a filter that you run on source. As TheDamian has it setup, it will print to STDOUT, so you can do something like this:

perltidy >

.perltidyrc will be automatically called for configuration details. Once you get that figured out, you can even hightlight one block in vim and do "! perltidy" to cleanup just a block within a file.

Good luck and perservere. Tidy code is a worthwhile endeavor, whether you create it that way or beat it into submission with a tool.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2020-06-05 18:04 GMT
Find Nodes?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?

    Results (40 votes). Check out past polls.