Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Re: Re: Craftier

by BatGnat (Scribe)
on Dec 15, 2000 at 06:49 UTC ( #46780=note: print w/replies, xml ) Need Help??

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.

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?


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://46780]
[Happy-the-monk]: Stayin' Alive

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2017-11-18 20:02 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (277 votes). Check out past polls.