summaryrefslogtreecommitdiff
path: root/apkbuild-cpan.in
diff options
context:
space:
mode:
Diffstat (limited to 'apkbuild-cpan.in')
-rw-r--r--apkbuild-cpan.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/apkbuild-cpan.in b/apkbuild-cpan.in
index 020abd3..5566f8e 100644
--- a/apkbuild-cpan.in
+++ b/apkbuild-cpan.in
@@ -138,7 +138,7 @@ sub parse_deps {
}
# map package names to alpine packages
- foreach ( keys $distfiles ) {
+ foreach ( keys %{ $distfiles } ) {
$response = $ua->get("http://search.cpan.org/api/dist/$_");
$response->is_success or die $response->status_line;
my $distdata = $json->decode($response->decoded_content);