in reply to What modules does my code require?
Module::Info explicitly says you can hand it a script, not just a ".pm" file. Various other options: Module::ExtractUse, Module::ScanDeps, and Module::PrintUsed. Since it's your own, trusted code, you might like to try the last one.
-xdg
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
|
|---|