There are three very useful functions that Perl provides for us. split and grep each takes a pattern as an argument. join does not take a pattern as an argument, but simply a string.