I think the confusion here is that "split" is not the same as "split / /". Rather, "split" is the same as "split /\s+/".
Also, if you "split $_", Perl thinks you're using $_ as your pattern. You can't leave out the pattern and still pass a string to split. If you specify a string, you also have to specify a pattern.
In reply to Re: about split
by kyle
in thread about split
by halfcountplus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |