Parses lines of text and returns an array of words. Provides three functions.
old_shellwords |
old_shellwords (lines)
Splits an array of lines into words. Exported on request. Same as the pre-Perl 5 program shellwords.pl.
quotewords |
quotewords (delim, keep, lines)
Accepts delimiter and list of lines and breaks the lines into a list of words at occurrences of the delimiter. Exported by default. Takes the following arguments:
shellwords |
shellwords (lines)
Works like old_shellwords, but does not default to using $_ if there is no argument. Exported by default.
Copyright © 2002 O'Reilly & Associates. All rights reserved.