How to Install and Uninstall perl-Module-ScanDeps Package on openSuSE Tumbleweed

Last updated: November 23,2024

1. Install "perl-Module-ScanDeps" package

This guide covers the steps necessary to install perl-Module-ScanDeps on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install perl-Module-ScanDeps

2. Uninstall "perl-Module-ScanDeps" package

This guide covers the steps necessary to uninstall perl-Module-ScanDeps on openSuSE Tumbleweed:

$ sudo zypper remove perl-Module-ScanDeps

3. Information about the perl-Module-ScanDeps package on openSuSE Tumbleweed

Information for package perl-Module-ScanDeps:
---------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : perl-Module-ScanDeps
Version : 1.350.0-2.1
Arch : x86_64
Vendor : openSUSE
Installed Size : 128.0 KiB
Installed : No
Status : not installed
Source package : perl-Module-ScanDeps-1.350.0-2.1.src
Upstream URL : https://metacpan.org/release/Module-ScanDeps
Summary : Recursively scan Perl code for dependencies
Description :
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 App::Packer::Frontend for detailed explanation on the structure
returned by 'get_files'.