The key to understanding what manner of reply you want is to know why you want to print the contents of the hash. If you simply want debugging output then the Dumper solution is the best answer. If however you want to use the printed hash contents as report output or in UI then you need either to know what the structure of the data is and handle it explicitly, or you need to parse the data in a similar fashion to Dumper.
There are two keys to Dumper type processing: recursion and ref. There is also a nasty gotcha: if there are circular references in the structure things will go pear shaped very fast!
In reply to Re: How to Print Return Data from Subroutine
by GrandFather
in thread How to Print Return Data from Subroutine
by bichonfrise74
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |