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 <briandfoy@pobox.com>
<briandfoy@pobox.com>
Copyright © 2009-2015, brian d foy <briandfoy@pobox.com>. All rights reserved.
You can use this script under the same terms as Perl itself.
Module::Extract::Use, Module::ExtractUse, Module::ScanDeps,
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in '©'. Assuming UTF-8
To install Module::Extract::DeclaredMinimumPerl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Module::Extract::DeclaredMinimumPerl
CPAN shell
perl -MCPAN -e shell install Module::Extract::DeclaredMinimumPerl
For more information on module installation, please visit the detailed CPAN module installation guide.