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

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

Serving Software Downloads in 976 Categories, Downloaded 29.542.297 Times

Text::ParseWords 3.27

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

Text::ParseWords

Report Broken Link
Printer Friendly Version


Product Homepage
Download (16 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...
 
Games  -  1,2, Draw! 1.0
1,2, Draw! is a fun quick-fire duel game. Go back to the days of the Cowboys. Play as Colorful characters and be the first to Draw! Play face-to-face with a friend on a single screen in 2 player mode or play in single player...
1.7 MB  
Games  -  CAZ Fusion 1.1
Did you know? You have 100 billion neurons inside your brain. And now with CAZ Fusion, you can use every single one of them. CAZ Fusion is a new kind of Puzzle-Game based on the worldwide success "CAZ". Help the new hero Zac to find...
8.5 MB  
Photo & Video  -  Effect Plus LE - Append Intensive line and other comic like effect to your photos 1.2.1
"Effect Plus" is adding some effect to your photo and save / upload tool. *Intensive line - to give an object attention *Speed line - effect to give sense of speed *String - Parspective string effect like Japanese comic *Message - Add...
12.8 MB  
Entertainment  -  Hollywood Quotes Game 1.1
Over 300 Hollywood Movie Quotes and Many Characters to Pick in this Game! Inspirational, Motivational, Funny, Vengeful, Random Movie Quotes. Who said "If you are good at something, never do it for free?" - Try and guess that and many more quotes....
17.4 MB  
Games  -  Las Vegas Lucky Slots 1.1.4
Finally the real-world feeling of Las Vegas Slots has come to iOS in this free slot machine game available on all iOS devices. Key Features of Las Vegas Lucky Slots - Completely Free slots game - Bet from 1 to 15 lines - Create...
32.8 MB  
Games  -  Breakthrough Online 1.0.0.0
Force your way through the enemy lines. Break them! Imagine a line of tanks against another, set up on a checkerboard. You wish to get through the opponent's lines first, either by moving strategically through avoiding getting removed from...
1024 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  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
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  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Linux Software  -  GTK+ 2.5
GTK+, which stands for the GIMP Toolkit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. Language bindings...
60 MB  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB