Change in ...osmo-iuh[master]: asn1enum.pl: Make compatible with modern perl

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Fri Sep 20 22:10:50 UTC 2019


laforge has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-iuh/+/15588 )

Change subject: asn1enum.pl: Make compatible with modern perl
......................................................................

asn1enum.pl: Make compatible with modern perl

This fixes the following error message:
Experimental keys on scalar is now forbidden at ./asn1enum.pl line 25.

Change-Id: I4680627acfd8f3ed73d32324fe0a54b554268f3b
---
M asn1/asn1enum.pl
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/asn1/asn1enum.pl b/asn1/asn1enum.pl
index 8584e84..beac35f 100755
--- a/asn1/asn1enum.pl
+++ b/asn1/asn1enum.pl
@@ -22,7 +22,7 @@
 		next;
 	}
 	printf("%s ::= INTEGER {\n", $k);
-	foreach my $r (sort { $a <=> $b } keys $h{$k}) {
+	foreach my $r (sort { $a <=> $b } keys %{$h{$k}}) {
 		printf("\t%s(%d),\n", $h{$k}{$r}, $r);
 	}
 	printf("}\n");

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-iuh/+/15588
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Change-Id: I4680627acfd8f3ed73d32324fe0a54b554268f3b
Gerrit-Change-Number: 15588
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190920/8f859da6/attachment.htm>


More information about the gerrit-log mailing list