summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--META.json3
-rw-r--r--README.md8
2 files changed, 5 insertions, 6 deletions
diff --git a/META.json b/META.json
index ba80617..5d654b6 100644
--- a/META.json
+++ b/META.json
@@ -43,9 +43,8 @@
"runtime" : {
"requires" : {
"CPAN::DistnameInfo" : "0",
- "CPANPLUS::Backend" : "0",
"Function::Parameters" : "0",
- "IO::Zlib" : "0",
+ "IPC::Run" : "0",
"Log::Any" : "0",
"Log::Any::Adapter" : "0",
"Log::Log4perl" : "0",
diff --git a/README.md b/README.md
index d6a3d93..4ccab82 100644
--- a/README.md
+++ b/README.md
@@ -31,10 +31,10 @@ Return an arrayref of hashrefs with CPAN distribution information. See
my $distribution_names = ['App::ArchLinux::PackagerTools', 'DBI'];
my $packages = $app->get_updateable_packages($distribution_names);
- print $packages[0]->{dist_name};
- print $packages[0]->{pkgname};
- print $packages[0]->{repo_version};
- print $packages[0]->{cpan_version};
+ print $packages->[0]->{dist_name};
+ print $packages->[0]->{pkgname};
+ print $packages->[0]->{repo_version};
+ print $packages->[0]->{cpan_version};
Accepts a list of package names and returns a list of packages that can be
updated. The returned packages contain the name of the distribution, the name