Parse text into an array of tokens or array of arrays

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. quotewords() returns all of the tokens in a single long list, while nested_quotewords() returns a list of token lists corresponding to the elements of @lines. parse_line() does tokenizing on a single string. The quotewords() functions simply call parse_line(), so if you're only splitting one line you can call parse_line() directly and save a function call.
RPM
perl-Text-ParseWords-3.31-512.fc42.noarch.rpm
Summary
Parse text into an array of tokens or array of arrays
URL
https://metacpan.org/release/Text-ParseWords
Group
Unspecified
License
GPL-1.0-or-later OR Artistic-1.0-Perl
Source
perl-Text-ParseWords-3.31-512.fc42.src.rpm
Checksum
759c7b12297f7b1042c898016912e6c65d5587dec4374b492c2b7aac622ae284
Build Date
2025/01/18 18:39:25
Requires
perl(:VERSION) >= 5.6.0
Provides
perl(Text::ParseWords) = 3.31
perl-Text-ParseWords = 3.31-512.fc42