Re: The minigolf "Cantor's revenge" has ended

[email protected] ("John W. Krahn")
Newsgroups perl.golf
Message-ID <[email protected]>
[email protected] wrote:
> 
> I scratch my head as I look at the use of  "glob" by Ton and mtve.
> 
> mtve:   -l //,print map$_!~~$'.j&~Q,@;for@;=glob"{\321,.,\321}"x3
> ton:    -l print//g,map$_&$`|0?$":"*",@;for@;=glob"{0,1,0}"x3
> 
> I can't figure it out and it doesn't run on my older Perl.
> 
> Can someone explain what is going on here?

$ perl -le'print for glob"{A,B,C}"x3'
AAA
AAB
AAC
ABA
ABB
ABC
ACA
ACB
ACC
BAA
BAB
BAC
BBA
BBB
BBC
BCA
BCB
BCC
CAA
CAB
CAC
CBA
CBB
CBC
CCA
CCB
CCC




John
-- 
use Perl;
program
fulfillment
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.