Text::ParseWords(3p) Perl Programmers Reference Guide Text::ParseWords(3p)
Text::ParseWords(3p) Perl Programmers Reference Guide Text::ParseWords(3p) # Text::ParseWords(3p) Perl Programmers Reference Guide Text::ParseWords(3p) NNAAMMEE # Text::ParseWords - parse text into an array of tokens or array of arrays SSYYNNOOPPSSIISS # use Text::ParseWords; @lists = nested_quotewords($delim, $keep, @lines); @words = quotewords($delim, $keep, @lines); @words = shellwords(@lines); @words = parse_line($delim, $keep, $line); @words = old_shellwords(@lines); # DEPRECATED! DDEESSCCRRIIPPTTIIOONN # The "nested_quotewords()" and "quotewords()" functions accept a delimiter (which can be a regular expression) and a list of lines and then breaks those lines up into a list of words ignoring delimiters that appear inside quotes. ...