extract_modules - determine which Perl modules a given file uses
Version 1.10
Use: extract_modules filename [...]
Given Perl files, extract and report the Perl modules included with use or require.
use
require
This script does not execute the code in the files it examines. It uses the Module::Extract::Use or Module::ExtractUse modules which statically analyze the source without compiling or running it. These modules cannot discover modules loaded dynamically through a a string eval.
Module::Extract::Use
Module::ExtractUse
Jonathan Yu <frequency@cpan.org>
<frequency@cpan.org>
brian d foy <bdfoy@cpan.org>
<bdfoy@cpan.org>
Copyright 2009 by brian d foy <bdfoy@cpan.org>
You can use this script under the same terms as Perl itself.
Module::Extract::Use, Module::ExtractUse, Module::ScanDeps,
To install Module::Extract::Use, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Module::Extract::Use
CPAN shell
perl -MCPAN -e shell install Module::Extract::Use
For more information on module installation, please visit the detailed CPAN module installation guide.