Name : perl-Syntax-Operator-Equ
| |
Version : 0.06
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.7
| Date : 2023-11-29 12:16:08
|
Group : Unspecified
| Source RPM : perl-Syntax-Operator-Equ-0.06-1.7.src.rpm
|
Size : 0.05 MB
| |
Packager : (none)
| |
Summary : Equality operators that distinguish undef
|
Description :
This module provides infix operators that implement equality tests of strings or numbers similar to perl\'s \'eq\' and \'==\' operators, except that they consider \'undef\' to be a distinct value, separate from the empty string or the number zero.
These operators do not warn when either or both operands are \'undef\'. They yield true if both operands are \'undef\', false if exactly one operand is, or otherwise behave the same as the regular string or number equality tests if both operands are defined.
Support for custom infix operators was added in the Perl 5.37.x development cycle and is available from development release v5.37.7 onwards, and therefore in Perl v5.38 onwards. The documentation of XS::Parse::Infix describes the situation in more detail.
While Perl versions before this do not support custom infix operators, they can still be used via \'XS::Parse::Infix\' and hence XS::Parse::Keyword. Custom keywords which attempt to parse operator syntax may be able to use these. One such module is Syntax::Keyword::Match; see the SYNOPSIS example given above.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-S/openSUSE_Tumbleweed/x86_64 |