in reply to Catching typos

The problem isn't finding this specific error again because the chance that it will happen and not be caught by you is now pretty small. The better question is "how do I catch silly error in my code before publishing it?" and the answer is: code coverage and tests.

Devel::Cover is the go to for code coverage. Test is a starting point for writing a test framework, although the testing support for Perl is vast.

Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond