Perltidy
Perltidy absolutely rocks! After running a quick perl -c on my program I was greeted with the following error message that usually makes my heart sink:
Missing right curly or square bracket at ccpd.pl line 1102, at end of line
syntax error at ccpd.pl line 1102 at EOF
Bugger. So that means *somewhere* in the code I forgot to add a curly bracket. In the past this meant having to wade through 1102 lines of code trying to find where the sodding curly bracket should have gone. Not anymore. Now I just run my program through perltidy. Then you just take a peek at the error file it creates and voila you now know where to go looking:
The most recent un-matched '{' is on line 567
567: sub createAuthMessage {
^
Nice :-)