in reply to Re^2: all binary combinations
in thread all binary combinations

But that is one of Perl's strengths. It took the best of everything* that was out there, and stole it :-)

*Apart from it's object system, obviously :-(

Replies are listed 'Best First'.
Re^4: all binary combinations
by perlrocks (Acolyte) on Sep 05, 2009 at 15:33 UTC

    Thanks FunkyMonk. But since glob is returning the whole list, and my list can be huge, i'm running out of memory. I would much rather have a way that generate one combination at a time where i'd choose whether to save it or not before getting the other combination. Looping would be great as opposed to returning the whole list at once.

    Any ideas?

    Thanks a lot