Debian::WNPP::Query(3pm) | User Contributed Perl Documentation | Debian::WNPP::Query(3pm) |
Debian::WNPP::Query - offline storage of Debian's work-needing package lists
my $wnpp = Debian::WNPP::Query->new( { cache_dir => '/somewhere', network_enabled => 0, ttl => 3600 * 24, bug_types => [qw( ITP RFP )] } ); my @bugs = $wnpp->bugs_for_package('ken-lee');
Debian::WNPP::Query provides a way to retrieve and cache the contents of Debian's "Work-needing and prospective packages" lists.
new is the constructor. Initial field values are to be given as a hash reference.
If cache_file is given, it is read.
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.
2019-02-28 | perl v5.28.1 |