summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-12-10 23:46:33 +0100
committerFlorian Pritz <bluewind@xinu.at>2018-12-10 23:46:33 +0100
commite7ec0e8f26d5700fd1b48911f4e4c91bb8eaa7bc (patch)
tree241fbfae780f298702be366addd7e4fdc86a360f /README.md
parent7700ca5959411847a9f85165f3802bdb46636e6c (diff)
downloadApp-ArchLinux-PackagerTools-e7ec0e8f26d5700fd1b48911f4e4c91bb8eaa7bc.tar.gz
App-ArchLinux-PackagerTools-e7ec0e8f26d5700fd1b48911f4e4c91bb8eaa7bc.tar.xz
Update generated files
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
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