in reply to Check if all used modules are use'ed
I would assume that Module::Scandeps can do that. Alternatively, if you are worried about implicit loading of modules, I would just grep for everything that looks like a class name (/\b(\w+(?:'|::)(?:\w+(?:'|::)?)*/), and see where else that shows up. Note that use $module isn't sufficient, as there are many other "loader-style" modules, like if.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Check if all used modules are use'ed
by Sewi (Friar) on Oct 27, 2011 at 12:41 UTC | |
by Anonymous Monk on Oct 27, 2011 at 18:09 UTC |