fatfinger - Catch typos in module names
fatfinger is a development tool which helps you spot typos in use statements. It does this by adding an @INC hook. If a module which you tried to use cannot it be found, fatfinger checks %INC for similarly named modules. If this comes up empty fatfinger will do some fuzzy matching on the files in your @INC directories.
In order for fatfinger to be effective, use it as early as possible in your modules.
When running this code, you should get the following error message:
The module "warningz" could not be found. Perhaps you meant to "use warnings"?
This will add a (hopefully) small penalty to the run time of your code if a module cannot be found. Presently it seems to be fast enough for me, but it may not be fast enough for you.
Thanks to Dave Rolsky, Greg Oschwald and Florian Ragwitz for helping me with the logic behind this module.
Olaf Alders <firstname.lastname@example.org>
This software is Copyright (c) 2015 by MaxMind, Inc..
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install fatfinger, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.