Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1054254]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2017-02-25 16:41 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (366 votes). Check out past polls.