| 1 |
Source: libfeature-compat-class-perl |
| 2 |
Standards-Version: 4.7.2 |
| 3 |
Maintainer: Debian Perl Group <[email protected]> |
| 4 |
Uploaders: |
| 5 |
Jonas Smedegaard <[email protected]>, |
| 6 |
Section: perl |
| 7 |
Testsuite: autopkgtest-pkg-perl |
| 8 |
Build-Depends: |
| 9 |
debhelper-compat (= 13), |
| 10 |
libmodule-build-perl, |
| 11 |
libobject-pad-perl (>= 0.823) <!nocheck>, |
| 12 |
libtest-fatal-perl <!nocheck>, |
| 13 |
libtest2-suite-perl <!nocheck>, |
| 14 |
perl, |
| 15 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libfeature-compat-class-perl |
| 16 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libfeature-compat-class-perl.git |
| 17 |
Homepage: https://metacpan.org/release/Feature-Compat-Class |
| 18 |
|
| 19 |
Package: libfeature-compat-class-perl |
| 20 |
Architecture: all |
| 21 |
Multi-Arch: foreign |
| 22 |
Depends: |
| 23 |
${misc:Depends}, |
| 24 |
${perl:Depends}, |
| 25 |
libobject-pad-perl (>= 0.823), |
| 26 |
Description: make class syntax available |
| 27 |
Feature::Compat::Class provides the new class keyword and related others |
| 28 |
(method, field and ADJUST) |
| 29 |
in a forward-compatible way. |
| 30 |
. |
| 31 |
There is a branch of Perl development source code |
| 32 |
which provides this syntax, under the class named feature. |
| 33 |
If all goes well, this will become available |
| 34 |
in a stable release in due course. |
| 35 |
On such perls that contain the feature, |
| 36 |
this module simple enables it. |
| 37 |
. |
| 38 |
On older versions of perl before such syntax is available in core, |
| 39 |
it is currently provided instead using the Object::Pad module, |
| 40 |
imported with a special set of options |
| 41 |
to configure it to only recognise the same syntax |
| 42 |
as the core perl feature, |
| 43 |
thus ensuring any code using it will still continue to function |
| 44 |
on that newer perl. |