in reply to Re: Re: Craftier
in thread Craftier

Sorry for the incorrect posting, but either way, you proved my point. As for the space in the split, I copied that directly from his code, $_ = join ' ', split; and modified it. I didn't even look to see if his code was wrong, I should have checked.
Thanks for the help, I have only started use Benchmark recently.
BatGnat

Micro$ofts new corporate motto: RESISTENCE IS FUTILE

Replies are listed 'Best First'.
Re: Re: Re: Re: Craftier
by a (Friar) on Dec 15, 2000 at 09:31 UTC
    Er, 2 things, originally it said:
    (Note: you need to use $x = join ' ', split ' ', $x; if your string isn't in $_.)
    and '\s' isn't special inside of tr///? I didn't know that? How come?

    a