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

Yes, perlrocks, perl rocks!

But glob is a re-implementation of csh's glob! ;)

Replies are listed 'Best First'.
Re^3: all binary combinations
by FunkyMonk (Bishop) on Sep 04, 2009 at 23:05 UTC
    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 :-(

      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