in reply to •Re: Re: Algorithm needed
in thread Algorithm needed

split /\s+/;

Do you recommend this as normal practice? I think the special case, split ' ', is usually what people really want. (Yes, this is a very minor point but I'm curious.)

-sauoq
"My two cents aren't worth a dime.";

Replies are listed 'Best First'.
•Re: Re: •Re: Re: Algorithm needed
by merlyn (Sage) on Dec 06, 2002 at 00:28 UTC
      Yeah, I'd probably just change that to "split", no args, which is like split ' ', $_.

      Even better. Thanks for clarifying.

      -sauoq
      "My two cents aren't worth a dime.";