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

String::Scanf 0.98.8

  Date Added: September 12, 2010  |  Visits: 604


Report Broken Link
Printer Friendly Version

Product Homepage
Download (76 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
Business  -  Gulf Plus 1.0.5
Gulf Plus is a mobile dialer or application which makes VoIP calls with minimum iOS version support of 3.2 on Apple iPhone, iPad, iPod and it uses the 3G/Edge/wifi Internet connectivity. Gulf Plus is developed based on the requirements of...
1.9 MB  
Information Lookup  -  Money Plus Sunset Deluxe 17
Money Plus Sunset Deluxe is designed to be a replacement for expired versions of Money Plus Essentials, Money Plus Deluxe, and Money Plus Premium versions. Note: The Money Plus Sunset versions come with online self-help only. All versions of Money...
34 MB  
Home & Leisure  -  Fuel Consumption Calculator 1.0
A simple fuel consumption calculator based on the distance travelled between full tanks, using either litres or gallons, kilometres or miles, plus the cost in UK Pounds/pence or US Dollars/cents. Is your car as fuel efficient as you thought...
317 KB  
Finance  -  Home Savings Mobile Banking
Bank on the go with Home Savings mobile banking. Check balances, view transactions, transfer money, pay your bills, find the nearest branch office or ATM, plus lots more! Bank wherever you are with your local community bank. Home Savings....
9 MB  
Education  -  EPS Compteur 1.0.0
EPS Compteur est l'application la plus simple et la plus rapide pour faire etat de vos reussites dans toutes les situations possibles et imaginables ! Lancez l'application et validez les reussites et les echecs, ? l'ecran : - le taux de...
13.4 MB  
Video Editors  -  Free MXF Converter Pro 3.2.6
Free MXF Converter Pro can help you convert videos formats like ms, mts, m2ts, tp, ts, trp and MXF. It is capable of converting MXF files to other HD videos and general videos such as MP4, MOV, AVI, M4V, MPEG, H.264, VOB, MKV, FLV, WMV and more....
27.78 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  
Education  -  BLAGUES_HUMOUR
Cette application regorge une multitude de blagues et d'humours les plus droles et les plus populaire au monde regroupe par themes . Elle inclut une option de partage sur les reseaux sociaux et par messages SMS des humours et blagues entre proches...
1024 KB  
Weather  -  Dealabs Unofficial App
L'application non officielle du meilleur site de deals francais ! Pret ? faire des economies ? Toutes les bonnes affaires ? faire sont ici ! Retrouvez d'un seul coup d'?il les deals les plus hot et les plus recents ainsi que tous les bons...
2 MB  
Games  -  Find the song
Envie de vous detendre et de tester vos connaissances musicale ? Ce jeu vous joue des extraits de musiques, ? vous de retrouver le titre joue ! Plus vous serez rapide, plus vous marquerez de points. 1.0.1 : Correction d'un bug visuel ...
4 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, 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  
Libraries  -  wolfSSL 3.15.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