split is a useful command in the programming language Perl.

split /pattern/, string

The command separates string into a list of strings originally seperated by pattern. The pattern follows normal regular expression rules. The default arguments are respectively whitespace and $_ (default string).

Example:

1 while (< >) {
2  @line = split;
3
.
.
.
n }
In this example, the while statement loops through standard input line by line, and line 2 stores the line as a list of words. Obviously a useful construct for text file manipulation, for example.