in reply to Re: Re^4: creating all possible random 'words' from 4 letters (pass buck)
in thread creating all possible random 'words' from 4 letters

I wasn't sure if BrowserUk was being sarcastic or not...OK, I've decided he was playing straight.

Yes, a quick check of 5.8.0 shows that this takes a long time to finish:

foreach ( glob( "{a,b,c,d}" x 10 ) ) { print "$_\n"; last; }
while this finishes immediately:
foreach ( 'aaaaaaaaaa'..'dddddddddd' ) { print "$_\n"; last; }
I'll leave it to OMAR to check the memory use :)

-QM
--
Quantum Mechanics: The dreams stuff is made of