Yes, that's one of the big problems with Perl modules. I have a fairly crude but working script which does this for C:
Remove unnecessary #include headers from C filesI saw this post yesterday:
Include-what-you-use: A tool to analyze includes in C and C++ source files (include-what-you-use.org)But nothing at all for Perl. I guess what I'll probably go with, if nobody has a better idea, is something like that script for C files, like comment out the "use" line and see if it passes its tests.
In reply to Re^2: Removing unused Perl modules
by no longer just digit
in thread Removing unused Perl modules
by no longer just digit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |