in reply to How do I detect what modules are not being used?
(The argument would be the "use Whatever qw(umm)" line.) Then the script could go on to check the package's symbol table for things that have been exported by the module, and print the results.package moduleTest; eval "$ARGV[0]";
I know this is terribly inelegant, but it seems like a simple way to get what you want.
-Joe
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How do I detect what modules are not being used?
by Limbic~Region (Chancellor) on Apr 07, 2005 at 12:58 UTC | |
by blahblahblah (Priest) on Apr 07, 2005 at 14:43 UTC |