Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^3: How do I detect what modules are not being used?by Limbic~Region (Chancellor) |
on Apr 07, 2005 at 14:49 UTC ( [id://445710]=note: print w/replies, xml ) | Need Help?? |
hakkr,
This is similar to the approach I outlined (commenting out each module). This is certainly better than nothing, but there are still plenty of edge cases that would make this less than a 100% solution. For instance, if a module is required inside an eval block of a conditional, then only under the right circumstances will making the module unavailable show up. A comprehensive test suite is needed to ensure removing the module will have no ill effect. Cheers - L~R
In Section
Seekers of Perl Wisdom
|
|