Linux @ CERN

CERN > IT > Linux

CentOS 7 - Updates for x86_64: development/libraries: perl-Text-ParseWords

perl-Text-ParseWords - Parse text into an array of tokens or array of arrays

Website: http://search.cpan.org/dist/Text-ParseWords/
License: GPL+ or Artistic
Vendor: CentOS
Description:
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.

Packages

perl-Text-ParseWords-3.29-4.el7.noarch [13 KiB] Changelog by Daniel Mach (2013-12-27):
- Mass rebuild 2013-12-27

Listing created by repoview