in reply to Re: Perl::Tidy formatting question
in thread Perl::Tidy formatting question
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Perl::Tidy formatting question
by vendion (Scribe) on Nov 23, 2011 at 15:09 UTC | |
by toolic (Bishop) on Nov 23, 2011 at 16:04 UTC |
In Section
Seekers of Perl Wisdom