Re: A new golf "Unfragment" has started

2004-01-17 Thread Juho Snellman
On Sat, Jan 17, 2004 at 03:13:20PM -0600, Riey Bryant wrote: > for$=(@F){@;=grep{$*=$_;grep$*eq$_,@;?@;:@[EMAIL PROTECTED],[EMAIL PROTECTED]@I [...] > -lp0a > for$=(@F){@;=map{$*=$_;grep$*eq$_,@;?@;:@[EMAIL PROTECTED],[EMAIL PROTECTED]@ [...] > Why does this substitution (grep to map) make such a

Re: A new golf "Unfragment" has started

2004-01-17 Thread Riey Bryant
Hello All! As usual, playing another round of golf turns my mind to another round of questions... My solution below works for all test cases: -lp0a for$=(@F){@;=grep{$*=$_;grep$*eq$_,@;?@;:@[EMAIL PROTECTED],[EMAIL PROTECTED]@I thought, however, that I could save a stroke by replacing the first g

A new golf "Unfragment" has started

2004-01-08 Thread Mtv Europe
Hello All! First golf of the new year, supposedly hard - http://terje2.perlgolf.org/ -- Mtv Europe