Posted by AMD on August 24, 2005, at 14:45:38
In reply to Re: Feeling better ..., posted by AuntieMel on August 24, 2005, at 10:38:15
My brain gets enough exercise at work! Just kidding.
So, I'll post a puzzle.
What does this do?
print join( "|", ( ( join( ",", sort { $a <=> $b } map { $_ =~ s/INTEGER: //; chomp($_); $_ } @ports ) . "," ) =~ m/(\d+),(?:\1,)+/g ) );
(There's a much easier way to do this, by the way.)
amd
poster:AMD
thread:545647
URL: http://www.dr-bob.org/babble/subs/20050722/msgs/546100.html