Yanick wrote:
>On Fri, Jun 07, 2002 at 11:03:49PM +0600, Jay Tilton wrote:
>>
>> Yanick, what's with that tr///? You feeling alright? :)
>
> You see that stupid perl see the '-y' in '3-y///c' as a
>file operator
I would have sworn I tested it with y/// before saying anything. Of course, there are
a dozen other things I would have sworn to have tested in my own solutions that showed
up in others'. At the time, I was simply swearing.
The latest "I'm an idiot" epiphany is that a literal tab is cheaper than \t. The
caffeine-soaked neurons hadn't generalized the lesson from \n. How humiliating.
Right now I'm puzzling over Mtv Europe's solutions (the -X flag and use of (??{code})
in the regex caught my attention). I can't coerce them into passing the test suite on
Win32, and trimming newlines from the end of the code itself (after the y/\0/ /) is
causing out of memory error. Mondo bizarro.
--
Jay Tilton