You can return a reference to a hash (return \%a), and then use it as print keys %{ a() };
In reply to Re: Treating sub output as a hash
by moritz
in thread Treating sub output as a hash
by ISAI student
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |