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 49.480.708 Times

String::Scanf 0.98.8

  Date Added: September 12, 2010  |  Visits: 835

String::Scanf

Report Broken Link
Printer Friendly Version


Product Homepage
Download (99 downloads)



String::Scanf can emulate sscanf() of the C library. SYNOPSIS use String::Scanf; # imports sscanf() ($a, $b, $c, $d) = sscanf("%d+%d %f-%s", $input); ($e, $f, $g, $h) = sscanf("%x %o %s:%3c"); # input defaults to $_ $r = String::Scanf::format_to_re($f); or # works only for Perl 5.005 use String::Scanf qw(); # import nothing my $s1 = String::Scanf->new("%d+%d %f-%s"); my $s2 = String::Scanf->new("%x %o %s:%3c"); ($a, $b, $c, $d) = $s1->sscanf($input); ($e, $f, $g, $h) = $s2->sscanf(); # input defaults to $_ String::Scanf supports scanning strings for data using formats similar to the libc/stdio sscanf(). The supported sscanf() formats are as follows: %d Decimal integer, with optional plus or minus sign. %u Decimal unsigned integer, with optional plus sign. %x Hexadecimal unsigned integer, with optional "0x" or "0x" in front. %o Octal unsigned integer. %e %f %g (The [efg] work identically.) Decimal floating point number, with optional plus or minus sign, in any of these formats: 1 1. 1.23 .23 1e45 1.e45 1.23e45 .23e45 The exponent has an optional plus or minus sign, and the e may also be E. The various borderline cases like Inf and Nan are not recognized. %s A non-whitespace string. %c A string of characters. An array reference is returned containing the numerical values of the characters. %% A literal %. The sscanf() formats [pnSC] are not supported. The %s and %c have an optional maximum width, e.g. %4s, in which case at most so many characters are consumed (but fewer characters are also accecpted). The numeric formats may also have such a width but it is ignored. The numeric formats may have [hl before the main option, e.g. %hd, but since such widths have no meaning in Perl, they are ignored. Non-format parts of the parameter string are matched literally (e.g. : matches as :), expect that any whitespace is matched as any whitespace (e.g. matches as s+)..

Requirements: No special requirements
Platforms: Linux
Keyword: Formats Libraries Optional Plus Plus Or Minus Plus Or Minus Sign Programming Sscanf Stringscanf
Users rating: 0/10

License: Freeware Size: 1.7 MB
USER REVIEWS
More Reviews or Write Review


STRING::SCANF RELATED
Video Editors  -  Free Mac 3D Video Converter Pro 3.3.8
Free Mac 3D Video Converter Pro can help you easily convert 2D movies to 3D format, and it supports converting 3D video to standard 2D video formats on Mac. Plus, it can convert 3D video to other types of 3D video with outstanding output quality....
45.72 MB  
Misc. Networking Tools  -  Obese Finger 1.003
Full Featured Finger Client, Prints and Formats Results, Optional Hint System, Quick access to last 5 queries, Context Sensitive Help, Finger an individual or whole machine, and much more!
924 KB  
Audio Tools  -  Aktiv CD Ripper 2. 4. 2000
Aktiv CD Ripper is a great tool for creating direct digital copies of all your audio CDs and saving them as various popular formats including MP3s, WMAs, OGGs, or WAVs. The software is extremely easy to use and will allow you to compile your...
9.87 MB  
Audio Recorders  -  Astroburn Audio 1.2.0
Astroburn Audio is an easy-to-use tool to burn your own Audio CDs. It supports not only standard MP3 and WMA formats, but alsolossless APE, FLAC or WAV files. CUE file loading helps to split a large APE or FLAC audio file into tracks. You can...
5 MB  
Programming  -  DVDThek 2.1
DVDThek is an application that manages a DVD film library or other media libraries like videos, disks or songs. Coded in Java language exclusively.
4.87 MB  
Modules  -  SQL Search (Trip Search) 1.0
SQL Search offers advanced "Google-like" search operators: - phrases (enclose search string in double quotes) - exclude terms (preceed term with minus sign) - OR operatorThese operators can be entered directly or can be entered into an "advanced...
 
MS Office Add-Ins  -  CustomerRegister 2 2.1.3.7
Easy-to-use and completely free customer register software with customizable tables, data fields and statistics module. It has absolutely no limitations. You can attach files to the customer records and the customer data can be exported to many...
107.92 MB  
Home & Leisure  -  MB Balinese Astrology 1.0
MB Balinese Astrology works on the Bali astrology principles and finds out your Balinese astrology sign or Balinese sign. Apart from telling you your Bali sign, this Bali astrology software also tells you the attributes of your Balinese astrology...
824 KB  
Home & Leisure  -  MB Chinese Astrology Software 1.95
MB Free Chinese Astrology Software determines your Chinese zodiac sign or animal sign from your date of birth and also gives a reading based on the great powers of the Chinese Oracle known as the I Ching. It offers an easy to use interface, which...
1.15 MB  
Programming  -  Luxor language rc.0.6.0
Luxor is a new system programming language, designed to use instead of assembler, C/C++, or other system programming languages.
113.09 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
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  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB