summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-07-28 09:17:14 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-07-28 09:44:34 +0000
commit9f8ef6b8706100172b64e586be3147cf84b32f59 (patch)
tree1b3fae48464afef0b1184067b0c0f37d8a27bafc
parent034e36f72164c105013a6565c091f16df848d146 (diff)
downloadabuild-9f8ef6b8706100172b64e586be3147cf84b32f59.tar.gz
abuild-9f8ef6b8706100172b64e586be3147cf84b32f59.tar.bz2
abuild-9f8ef6b8706100172b64e586be3147cf84b32f59.tar.xz
abuild-9f8ef6b8706100172b64e586be3147cf84b32f59.zip
apkbuild-cpan: fixed error "Experimental keys on scalar is now forbidden" due to perl upgrade to 5.24 version
-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);