Lintian::Processable::Package (3)
Leading comments
Automatically generated by Pod::Man 4.09 (Pod::Simple 3.35) Standard preamble: ========================================================================
NAME
Lintian::Processable::Package -- An object that Lintian can processSYNOPSIS
use Lintian::Processable::Package; my $proc = Lintian::Processable::Package->new ('lintian_2.5.0_all.deb'); my $pkg_name = $proc->pkg_name; my $pkg_version = $proc->pkg_version; # etc.
DESCRIPTION
Instances of this perl class are objects that Lintian can process (e.g. deb files). Multiple objects can then be combined into groups, which Lintian will process together.CLASS METHODS
- new (FILE[, TYPE])
-
Creates a processable from FILE.IfTYPEis given, theFILEis assumed to be thatTYPEotherwise the type is determined by the file extension.TYPEis one of ``binary'' (.deb), ``udeb'' (.udeb), ``source'' (.dsc) or ``changes'' (.changes).
AUTHOR
Originally written by Niels Thykier <niels@thykier.net> for Lintian.SEE ALSO
lintian(1)Lintian::Processable
Lintian::ProcessableGroup