in reply to Misprinting combinations / iterator

If you see something like ARRAY(0x4eeeec), it means you have an array reference. They are thoroughly explained in perllol and perlreftut.

The fix is to dereferencing them before printing, for example print "@$combination\n";

Replies are listed 'Best First'.
Re^2: Misprinting combinations / iterator
by blacknail (Initiate) on Mar 27, 2012 at 15:59 UTC

    Thanks, moritz. I had already looked at perlol, but haven't understand it fully.