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;
In reply to Re^3: Misprinting combinations / iterator
by Marshall
in thread Misprinting combinations / iterator
by blacknail
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |