AptPkg::PkgRecords(3pm) | User Contributed Perl Documentation | AptPkg::PkgRecords(3pm) |
AptPkg::PkgRecords - APT package description class
use AptPkg::PkgRecords;
The AptPkg::PkgRecords module provides an interface to the parsed contents of package files.
The AptPkg::PkgRecords package Implements the APT pkgRecords class.
An instance of the AptPkg::PkgRecords class may be fetched using the "packages" method from an AptPkg::Cache object.
Methods
PACK may either be an AptPkg::Cache::VerFile object, an AptPkg::Cache::DescFile object or a package name.
The hash contains the following keys:
with values taken from the packages or translation file.
Note that "LongDesc" is generally not useful for AptPkg::Cache::VerFile objects, which refer to the Packages file, as these no longer contain the full description (now in the Translation files).
If PACK is a package name, these additional values are set:
and the following values are overridden with the translated versions:
AptPkg::Cache(3pm), AptPkg(3pm).
Brendan O'Dea <bod@debian.org>
2024-04-08 | perl v5.38.2 |