Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Devscripts::Packages

Name Devscripts::Packages
Version
Located at /usr/share/perl5
File /usr/share/perl5/Devscripts/Packages.pm
Is Core No
Search CPAN for this module Devscripts::Packages
Documentation Devscripts::Packages
Module Details Devscripts::Packages

NAME

Devscript::Packages - Interface to the dpkg package database


SYNOPSIS

use Devscript::Packages;

@files=PackagesToFiles(@packages);

@packages=FilesToPackages(@files);

@packages=PackagesMatch($regexp);

$packages_hashref=InstalledPackages($sources);


DESCRIPTION

PackagesToFiles: Return a list of files contained in a list of packages.

FilesToPackages: Return a list of packages containing at least one file in a list of files, taking care to handle diversions correctly.

PackagesMatch: list of packages whose status match regexp.

InstalledPackages: ref to hash with keys being installed packages (status = install ok installed). If $sources is true, then include the corresponding source packages as well in the list.


AUTHOR

Bill Allombert <ballombe@debian.org>


COPYING

Copyright 2001 Bill Allombert <ballombe@debian.org> Modifications copyright 2002 Julian Gilbey <jdg@debian.org> dpkg-depcheck is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for dpkg-depcheck.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026