Randal L. Schwartz wrote: >>>>>> ""Mr" == "Mr Shawn H Corey" <[EMAIL PROTECTED]> writes: > > "Mr> On Sun, 2008-10-05 at 21:30 -0700, Randal L. Schwartz wrote: >>> Eh? My question has *nothing* to do with my solution. My question >>> has to do with the original question. > > "Mr> And my question is why isn't these abilities of glob described in > "Mr> perldoc? > > You should treat this "feature" of glob the same way you treat: > > my $foo if 0; > > and those stupid: > > perl -e ' ... }{ ...' > > tricks, as in, it works for now, but I wouldn't promise it in the future. > > As in, my answer started with a joke. Hence the smiley. But I did have a > puzzling question about this recurring need for "all combinations" and always > stated rather abstractly, without the real-world need backing it up.
I agree, and Mark Jason Dominus says in his book: > It's not completely clear to me why this is useful. Last time it came up in > the newsgroup, I asked the poster, and he explained that he was trying to > generate a name for a new product by assembling short phrases or syllables > into different orders. Ragardless of whether this is a good idea, it does > seem to be something people want to do. What are the real-world problems that are solved using a list of combinations of sets of items? Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/