The examples in the module's docs weren't completely explanatory - I can see how this was confusing!
There is a "core" module (meaning that is pre-installed and exists on all Perl installations), Data::Dumper. It can print a representation of any Perl data structure - WOW! You need to give it a reference to the structure.
This is fantastic debugging tool.
There is no equivalent in 'C' or 'Java' of which I am aware.
use Data::Dumper;
# in your loop put...
print Dumper \$combination;
|