Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

debian::dpkglists(3pm) [debian man page]

Debian::DpkgLists(3pm)					User Contributed Perl Documentation				    Debian::DpkgLists(3pm)

NAME
Debian::DpkgLists - scan /var/lib/dpkg/info/*.list for files/patterns SYNOPSIS
my @packages = Debian::DpkgLists->scan_full_path('/full/file/path'); my @packages = Debian::DpkgLists->scan_partial_path('file/path'); my @packages = Debian::DpkgLists->scan_pattern(qr{freedom$}); my @packages = Debian::DpkgLists->scan_perl_mod('Some::Module'); DESCRIPTION
Debian::DpkgLists is a module for easy searching of dpkg(1)'s package file lists. These are located in /var/lib/dpkg/info/*.list and contain a simple list of full file names (including the leading slash). There are a couple of different class methods for searching by full or partial path, a regular expression or a Perl module name. Note that dpkg's file lists represent only dpkg's idea of what is installed on the system. If you want to also search in packages, available from the Debian archive but not installed locally, see Debian::AptContents. CLASS-METHODS scan_full_path ( path ) Scans dpkg file lists for files, whose full path is equal to path. Use when you have the full path of the file you want, like "/usr/bin/perl". Returns a (possibly empty) list of packages containing path. scan_partial_path ( path ) Scans dpkg file lists for files, whose full path ends with path. Use when you only care about the file name or other trailing portion of the full path like "bin/perl" (matches "/usr/bin/perl" and "/sbin/perl"). Returns a (possibly empty) list of packages containing files whose full path ends with path. scan_pattern ( pattern ) Scans dpkg file lists for files, whose full path matched pattern. Returns a (possibly empty) list of packages containing files whose full path matches pattern. scan_perl_mod ( Module::Name ) Scans dpkg file lists for files, corresponding to given Module::Name. This is a shorthand method for "scan_pattern" with a pattern that matches "/Module/Name.pm$" in all directories in @INC. Returns a (possibly empty) list of packages containing possible Module::Name files. AUTHOR
Damyan Ivanov <dmn@debian.org> COPYRIGHT &; LICENSE Copyright (C) 2010 Damyan Ivanov <dmn@debian.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. perl v5.14.2 2012-01-15 Debian::DpkgLists(3pm)

Check Out this Related Man Page

Debian::WNPP::Bug(3pm)					User Contributed Perl Documentation				    Debian::WNPP::Bug(3pm)

NAME
Debian::WNPP::Bug - handy representation of Debian WNPP bug reports SYNOPSIS
my $b = Debian::WNPP::Bug->new( { number => 1234, title => 'RFP: nice-package -- do nice things easier', type => 'rfp', package => 'nice-package', short_description => 'do nice things together', submitter => "Joe Developer <joe@developer.local>" } ); print "$b"; # 1234 CONSTRUCTOR
new Constructs new instance of the class. Initial values are to be given as a hash reference. FIELDS
number The unique ID of the big in the BTS. title The title of the bug. Usually something like RFP: nice-package -- do nice things easier type The type of the WNPP bug. Either of: RFP request for package ITP intent to package O orphaned package RFH request for help RFA request for adoption ITA intent to adopt package Package name short_description The short description of the package submitter The bug sumbitter in the form "Full Name <email@address>" OVERLOADS
"" "Debian::WNPPBug" object instances stringify via the method . The default "as_string" method returns the bug number. METHODS
type_and_number Returns a string representing the bug type and number in the form TYPE #number, e.g. "ITP #1234". as_string Uset for the "" overload. Returns the bug number. AUTHOR
Damyan Ivanov <dmn@debian.org> COPYRIGHT &; LICENSE Copyright (C) 2010 Damyan Ivanov <dmn@debian.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. perl v5.14.2 2012-01-15 Debian::WNPP::Bug(3pm)
Man Page

Featured Tech Videos