Permalink
Browse files

distribution files update

  • Loading branch information...
jozef committed Feb 12, 2010
1 parent cba2911 commit 7b2c44e8512aa06b312487e77d1bacd576b778da
Showing with 28 additions and 2 deletions.
  1. +1 −1 Changes
  2. +27 −1 README
View
@@ -1,6 +1,6 @@
Revision history for Debian-Apt-PM
-0.02
+0.02 12 Feb 2010
* Build.PL fixes
* more Pod
* showing architecture too
View
28 README
@@ -60,7 +60,7 @@ METHODS
lookup. By default it is filled with files from
/var/cache/apt/apt-pm/.
- find($module_name)
+ find($module_name, [$min_version])
Returns hash with Perl versions as key and hash value having Debian
version and package name. Example:
@@ -82,6 +82,32 @@ METHODS
},
};
+ If `$min_version' is set, returns `min' and `max' keys. `max' has always
+ the highest version:
+
+ 'max' => {
+ 'version' => '0.97-1',
+ 'package' => 'libmoose-perl'
+ 'arch' => 'i386'
+ },
+
+ `min' is changing depending on `$min_version'. Examples:
+
+ $min_version = '0.01';
+ 'min' => {
+ 'version' => '0.54-1',
+ 'package' => 'libmoose-perl'
+ 'arch' => 'i386'
+ },
+ $min_version = '0.93';
+ 'min' => {
+ 'version' => '0.94-1',
+ 'package' => 'libmoose-perl'
+ 'arch' => 'i386'
+ },
+ $min_version = '1.00';
+ 'min' => undef,
+
update
Scans the /etc/apt/sources.list and /etc/apt/sources.list.d/*.list
repositories for PerlPackages.bz2 and prepares them to be used for find.

0 comments on commit 7b2c44e

Please sign in to comment.