Is there a way to avoid defining %t, and make the code more compact?
a() returns a list. The inner {} make a hashref, and the outer %{} dereferences this hashref.print keys %{{a}};
In reply to Re: Treating sub output as a hash
by JavaFan
in thread Treating sub output as a hash
by ISAI student
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |