Today, doing some module renaming work, I found that I had "use <Module>" in a lot of files where it was not being used. I expected to find a CPAN solution for finding unused "use Module" statements but the best I got was this old stackoverflow answer:
https://stackoverflow.com/questions/13219442/find-unused-used-perl-modulesI already know Test::Vars for removing unused variables, but is there a good Test::Modules or similar for detecting unused modules included into files?
In reply to Removing unused Perl modules by no longer just digit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |