My Perltidy always prints to standard out instead of the default test.pl.tdy
:
perltidy test.pl
And here is my .perltidyrc
:
-pbp # Start with Perl Best Practices
-w
-l=100 # 100 characters per line
-ce # 'cuddled' elses. elses appear on the same line as last brace
-pt=2 # no parentheses spacing
-pt=2 # High parenthesis tightness
-bt=2 # High brace tightness
-sbt=2 # High square bracket tightness
-bar # opening braces right
-nsbl # open subroutine brace on right
-bbvt=1 # Block Brace Vertical Tightness
-sot # stack opening tokens
-sct # stack closing tokens
-nsfs # no For Loop Semicolon Spaces
-nolq # don't outdent long strings
Even if I do:
perltidy -b test.pl
It will still print to standard out and not go to test.pl.bak
. The only way I can get it to go to a different file is by doing:
perltidy test.pl > test.pl.tdy
Is there something in my .perltidyrc
that could be causing this? I can't seem to find anything to explain it.