in reply to Split question...
The docs on split (in perlfunc) mention a special-case for dealing with multiple spaces.
When you do
is it your plan to do this in a loop, pulling of next search term each time through? I would think it would be easier to just do($key1,$search_keys) = split / /, $search_keys, 2;
Or is there something about item numbers that makes it easier to do it your way?@keys = split / /, $search_keys;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Split question...
by powerhouse (Friar) on Apr 21, 2003 at 17:46 UTC | |
by The Mad Hatter (Priest) on Apr 21, 2003 at 19:10 UTC |