changeset 16:8192d3609350

fix not array ref
author Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Fri, 30 Nov 2018 15:31:26 +0900
parents 6c1384a939a0
children 39ff8f558152
files name2opcode.pl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/name2opcode.pl	Tue Nov 27 17:07:52 2018 +0900
+++ b/name2opcode.pl	Fri Nov 30 15:31:26 2018 +0900
@@ -13,5 +13,5 @@
 if (ref($ref ) eq "ARRAY"){
     map { print "$_\n";} @$ref;
 } else {
-    print "$_\n";
+    print "$ref\n";
 }