Name : perl-String-Scanf
| |
Version : 2.1
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 6.68
| Date : 2024-08-05 18:26:35
|
Group : Development/Libraries/Perl
| Source RPM : perl-String-Scanf-2.1-6.68.src.rpm
|
Size : 0.01 MB
| |
Packager : (none)
| |
Summary : Emulate sscanf() of the C library
|
Description :
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+\').
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-S/openSUSE_Tumbleweed/noarch |