Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.472.576 Times

Text::ParseWords 3.27

Company: Alexandr Ciornii
Date Added: July 09, 2013  |  Visits: 408

Text::ParseWords

Report Broken Link
Printer Friendly Version


Product Homepage
Download (45 downloads)



The &nested_quotewords() and "ewords() 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. "ewords() 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.<br /><br />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., "ewords() 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.<br /><br />&shellwords() is written as a special case of "ewords(), and it does token parsing with whitespace as a delimiter-- similar to most Unix shells.

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Backslashes Characters Delimiter Delimiters Functions Inside Lines Lists Nested Quotewords Parse Line Parsewords Quotes Quotewords Returns Similar Single String Text Text Parsewords Token Tokens
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


TEXT::PARSEWORDS RELATED
Text Editors  -  Randomize Lines 0.2.6
Randomize Lines (rl) is a command-line tool that reads lines from an input file or stdin, randomizes the lines and outputs a specified number of lines. It does this with only a single pass over the input while trying to use as little memory as...
122.88 KB  
Libraries  -  Test::Manifest 1.17
Test::Manifest is a Perl module created to interact with a t/test_manifest file. SYNOPSIS # in Makefile.PL eval "use Test::Manifest"; # in the file t/test_manifest, list the tests you want # to run Test::Harness assumes that you want to...
7.17 KB  
Utilities  -  DL Manage 3.0
Easily schedule and automate AD group membership changes with this command line tool If you ever need to add or remove users from security groups or distribution lists from the command line then this little application should help you out. With a...
 
Business  -  eMaM - eMail Address Manager 0.2.1
eMaM is a desktop application for managing mail lists: it manages mailing lists, removed emails and undelivered emails; extracts e-mail addresses from any text; synchronizes extracted mails with mailing list, returned emails and undelivered emails.
212.25 KB  
Networking  -  Better Adjacent Post Links 1.1
If you are used to link the 'previous' and 'next' posts on a wordpress blog using their own title, you have probably noticed how more often than not too long titles can cause broken lines, hence unpredictable results in terms of page layout.The...
10 KB  
Miscellaneous  -  Type checked argument lists with decorators 1.0
This script shows you to use the new decorator feature of python 2.4 to systematically check the argument types for type-sensitive functions.
 
Development Tools  -  Hatched Lines and Contours 1.0
These routines allow easy plotting of lines or contours with hatches on one side. This line style is often used to represent a constraint, where one side of the line represents a no-go area.
10 KB  
Modules  -  DirectPHP 1.06
DirectPHP - a plugin that allows direct embedding of PHP commands right inside Joomla content page!Note: If you're using DirectPHP with Joomla 1.5.8 and above, please refer to the post by Teezone for some useful...
10 KB  
Libraries  -  ShiftJIS::Regexp 1.00
ShiftJIS::Regexp contains regular expressions in Shift-JIS. SYNOPSIS use ShiftJIS::Regexp qw(:all); match($string, p{Hiragana}{2}p{Digit}{2}); match($string, pH{2}pD{2}); # these two are equivalent: This module provides some functions to...
35.84 KB  
Development Tools  -  Design Patterns for Integrating Simulink with Stateflow 1.0
Engineers who use SimulinkdlT« and StateflowdlT« within Model-Based Design often need to integrate state machines and control logic designed in Stateflow with Simulink blocks, subsystems, and components. Common tasks include calling a Lookup...
2.67 MB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB