No such thing as a small change | |
PerlMonks |
Re^2: Removing unused Perl modulesby no longer just digit (Beadle) |
on Apr 22, 2021 at 06:19 UTC ( [id://11131575]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|