Name : perl-Syntax-Construct
| |
Version : 1.037
| Vendor : obs://build_opensuse_org/home:illuusio
|
Release : ill.2.1
| Date : 2024-06-21 12:12:57
|
Group : Unspecified
| Source RPM : perl-Syntax-Construct-1.037-ill.2.1.src.rpm
|
Size : 0.04 MB
| |
Packager : https://www_suse_com/
| |
Summary : Explicitly state which non-feature constructs are used in the code
|
Description :
This module provides a simple way of specifying syntactic constructs that are not implemented via the feature pragma, but are still not compatible with older versions of Perl.
It\'s the programmer\'s responsibility to track the constructs and list them (but see Perl::MinimumVersion on how to extract the information from existing code).
Using \'use Syntax::Construct qw( // );\' doesn\'t really change anything if you\'re running Perl 5.010+, but it gives much better error messages in older versions:
Unsupported construct //
instead of
Search pattern not terminated
Three groups of people can benefit from the module:
* 1.
The authors of the module using Syntax::Construct win, as they have all the constructs in one place (i.e. Syntax::Construct\'s documentation) and they don\'t waste their time searching through perldeltas and other places.
* 2.
Users of their modules win as they get meaningful error messages telling them which Perl version they need to upgrade to.
* 3.
The programmer they hired to work around the problem wins as they know what constructs to replace in the code to make it run in the ancient version.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/illuusio:/perl/15.6/noarch |