Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2016-10-27 01:07 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (350 votes). Check out past polls.