perl-Text-ParseWords - Parse strings containing shell-style quoting

Property Value
Distribution OpenMandriva Lx 3.0
Repository OpenMandriva Contrib Release i586
Package name perl-Text-ParseWords
Package version 3.290.0
Package release 3-omv2015.0
Package architecture noarch
Package type rpm
Installed size 13.20 KB
Download size 12.58 KB
Official Mirror
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
The $keep argument is a boolean flag. If true, then the tokens are split on
the specified delimiter, but all other characters (quotes, backslashes,
etc.) are kept in the tokens. If $keep is false then the &*quotewords()
functions remove all quotes and backslashes that are not themselves
backslash-escaped or inside of single quotes (i.e., &quotewords() tries to
interpret these characters just like the Bourne shell). NB: these semantics
are significantly different from the original version of this module
shipped with Perl 5.000 through 5.004. As an additional feature, $keep may
be the keyword "delimiters" which causes the functions to preserve the
delimiters in each string as tokens in the token lists, in addition to
preserving quote and backslash characters.
&shellwords() is written as a special case of &quotewords(), and it does
token parsing with whitespace as a delimiter-- similar to most Unix shells.


Package Version Architecture Repository
perl-Text-ParseWords-5.20.3-1.2-omv2015.0.noarch.rpm 5.20.3 noarch OpenMandriva Main Release
perl-Text-ParseWords-3.290.0-3-omv2015.0.noarch.rpm 3.290.0 noarch OpenMandriva Contrib Release
perl-Text-ParseWords - - -


Name Value
perl(Exporter) -
perl(abi) >= 5.20.1


Name Value
perl(Text::ParseWords) == 3.290.0
perl-Text-ParseWords == 3.290.0-3:2015.0


Type URL
Binary Package perl-Text-ParseWords-3.290.0-3-omv2015.0.noarch.rpm
Source Package perl-Text-ParseWords-3.290.0-3.src.rpm

Install Howto

  1. Enable OpenMandriva Contrib Release repository on Install and Remove Software
  2. Update packages list:
    # urpmi.update -a
  3. Install perl-Text-ParseWords rpm package:
    # urpmi perl-Text-ParseWords



See Also

Package Description
perl-Text-Password-Pronounceable-0.300.0-5-omv2015.0.noarch.rpm Generate pronounceable passwords
perl-Text-Pipe-0.100.0-5-omv2015.0.noarch.rpm Common text filter API
perl-Text-Query-0.90.0-2-omv2015.0.noarch.rpm Query processing framework
perl-Text-Quoted-2.80.0-3-omv2015.0.noarch.rpm Perl module to extract the structure of a quoted mail message
perl-Text-RecordParser-1.6.3-3-omv2015.0.noarch.rpm Read record-oriented files
perl-Text-Roman-3.500.0-3-omv2015.0.noarch.rpm Allows conversion between Roman and Arabic algarisms
perl-Text-Shellwords-1.80.0-4-omv2015.0.noarch.rpm Thin wrapper around
perl-Text-SimpleTable-2.30.0-3-omv2015.0.noarch.rpm Simple Eyecandy ASCII Tables
perl-Text-Table-1.130.0-3-omv2015.0.noarch.rpm Organize Data in Tables
perl-Text-Tabs+Wrap-2013.52.300-3-omv2015.0.noarch.rpm Wraps lines to make simple paragraphs
perl-Text-Tags-0.40.0-4-omv2015.0.noarch.rpm Perl module to parse "folksonomy" space-separated tags
perl-Text-Template-1.460.0-3-omv2015.0.noarch.rpm Text::Template module for perl
perl-Text-Textile-2.120.0-5-omv2015.0.noarch.rpm Transforms text in Textile format to HTML
perl-Text-Tiki-0.730.0-5-omv2015.0.noarch.rpm TikiText - Text Formatting Engine
perl-Text-Trac-0.150.0-5-omv2015.0.noarch.rpm Perl extension for formatting text with Trac Wiki Style