if there is a way to tell it not to do such, I may have over looked it when reading through the man for it, please let me knowYou want "cuddled else" (-ce):
The Perl Best Practices book recommends: "Don't cuddle an else". You need to buy the book if you want to know the reason. Perhaps perltidy adheres to this as its default behavior.perltidy -ce script.pl
In reply to Re^2: Perl::Tidy formatting question
by toolic
in thread Perl::Tidy formatting question
by pukku
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |