Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: How do I check if imports are actually used?

by Anonymous Monk
on Sep 16, 2013 at 09:00 UTC ( #1054254=note: print w/ replies, xml ) Need Help??


in reply to How do I check if imports are actually used?

Well, you remove use ... statements and you run the test suite. If the test suite passes, you can ditch ... module as requirement :)

OTOH, see B::Xref

 [unused module] -> [id://734753|Identify and trim unused undeeded perl modules] unused module -> Identify and trim unused undeeded perl modules -> Devel::Cover, Devel::Dependencies


Comment on Re: How do I check if imports are actually used?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1054254]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2014-12-28 00:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls