Полезная информация

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.144 Text::ParseWordsChapter 8
Standard Modules
Next: Reference: old_shellwords


quotewords (delim, keep, lines)

Accepts delimiter and list of lines and breaks the lines up at occurrences of the delimiter into a list of words. Exported by default. Takes the following arguments:


Delimiter, which can be a regular expression. Occurrences inside quotes are ignored.


Boolean. If false, quotes and single backslashes are removed from the list of words returned, and a double backslash is returned as a single backslash. If true, quotes and backslashes are retained.


The list of lines to be parsed.

Previous: 8.144 Text::ParseWordsPerl in a NutshellNext: Reference: old_shellwords
8.144 Text::ParseWordsBook IndexReference: old_shellwords