Debian::Snapshot - interface to snapshot.debian.org
version 0.003
use Debian::Snapshot; my $s = Debian::Snapshot->new; my $p = $s->package("package", "version"); # see Debian::Snapshot::Package my @package_names = @{ $s->packages }; my @source_versions = @{ $s->package_versions("source-package") }; my @bs = @{ $s->binaries("binary") }; # see Debian::Snapshot::Binary my $f = $s->file($sha1hash); # see Debian::Snapshot::File
This module provides an interface to the snapshot.debian.org service.
URL used to contact the snapshot service. Defaults to http://snapshot.debian.org.
http://snapshot.debian.org
The LWP::UserAgent object used to query the server.
Returns an arrayref of Debian::Snapshot::Binary objects for the binary package named $name.
$name
If the optional parameter $version is present, only return binaries whose binary version matches $version which might be either a string or a regular expression.
$version
Returns a Debian::Snapshot::File object for the file with the given $hash.
$hash
Returns a Debian::Snapshot::Package object for the source package $package version $version.
$package
Returns an arrayref of source package names.
Returns an arrayref of versions for source package $package.
http://snapshot.debian.org/
Ansgar Burchardt <ansgar@43-1.org>
This software is copyright (c) 2010 by Ansgar Burchardt <ansgar@43-1.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Debian::Snapshot, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Debian::Snapshot
CPAN shell
perl -MCPAN -e shell install Debian::Snapshot
For more information on module installation, please visit the detailed CPAN module installation guide.