in reply to Re: Removing unused Perl modules
in thread Removing unused Perl modules
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Removing unused Perl modules
by perlfan (Parson) on Apr 22, 2021 at 14:08 UTC |