in reply to
passing @ to sub and getting back hash
You're not returning anything.
put
return %enc
at the end of your sub.
"What should it profit a man, if he should win a flame war, yet lose his cool?"
Comment on
Re: passing @ to sub and getting back hash
Download
Code
In Section
Seekers of Perl Wisdom