From e7ec0e8f26d5700fd1b48911f4e4c91bb8eaa7bc Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 10 Dec 2018 23:46:33 +0100 Subject: Update generated files Signed-off-by: Florian Pritz --- META.json | 3 +-- README.md | 8 ++++---- 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 -- cgit v1.2.3-24-g4f1b