note
toolic
<blockquote><i>
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 know
</i></blockquote>
You want "cuddled else" (-ce):
<c>
perltidy -ce script.pl
</c>
The <i>Perl Best Practices</i> book recommends: "Don't cuddle an else". You need to buy the book if you want to know the reason. Perhaps [mod://perltidy] adheres to this as its default behavior.
933933
939481