Thank you for your code. As a Sublime neophyte I must be missing something though. On Mac OS X, here's what I see after a re-start of the app:
523 ~/Library/Application Support/Sublime Text 2/Packages/PerlTidy>ls
4 Default.sublime-keymap 4 PerlTidyCommand.pyc 4 README.txt
4 PerlTidyCommand.py 4 PerlTidyCommand.py~ 1044 perltidy
So I view some Perl, do a select-all, but after a ctrl-t or a ctrl-shift-t I'm not seeing any "tidying". Should I?
This is ST2, alpha, build 2065.