Recursively scan Perl code for dependencies

Edit Package perl-Module-ScanDeps
http://search.cpan.org/dist/Module-ScanDeps

This module scans potential modules used by perl programs, and returns a
hash reference; its keys are the module names as appears in '%INC' (e.g.
'Test/More.pm'); the values are hash references with this structure:

{
file => '/usr/local/lib/perl5/5.8.0/Test/More.pm',
key => 'Test/More.pm',
type => 'module', # or 'autoload', 'data', 'shared'
used_by => [ 'Test/Simple.pm', ... ],
uses => [ 'Test/Other.pm', ... ],
}

One function, 'scan_deps', is exported by default. Other functions such as
('scan_line', 'scan_chunk', 'add_deps', 'path_to_inc_name') are exported
upon request.

Users of *App::Packer* may also use this module as the dependency-checking
frontend, by tweaking their _p2e.pl_ like below:

use Module::ScanDeps;
...
my $packer = App::Packer->new( frontend => 'Module::ScanDeps' );
...

Please see the App::Packer::Frontend manpage for detailed explanation on
the structure returned by 'get_files'.

Refresh
Refresh
Source Files
Filename Size Changed
Module-ScanDeps-1.35.tar.gz 0000059289 57.9 KB
cpanspec.yml 0000000547 547 Bytes
perl-Module-ScanDeps.changes 0000018742 18.3 KB
perl-Module-ScanDeps.spec 0000002936 2.87 KB
Latest Revision
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1157207 from Tina Müller's avatar Tina Müller (tinita) (revision 34)
- Fix disabling of __perllib_provides
Comments 0
openSUSE Build Service is sponsored by