in reply to Catching typos
Others have mentioned Perl::Critic but there is also an online version available which is useful for quickly checking snippets of code.
online Perl::Critic check...