- libobject-pad-perl (>= 0.806)
- perl:any
Feature::Compat::Class provides the new class keyword and related others
(method, field and ADJUST)
in a forward-compatible way.
.
There is a branch of Perl development source code
which provides this syntax, under the class named feature.
If all goes well, this will become available
in a stable release in due course.
On such perls that contain the feature,
this module simple enables it.
.
On older versions of perl before such syntax is availble in core,
it is currently provided instead using the Object::Pad module,
imported with a special set of options
to configure it to only recognise the same syntax
as the core perl feature,
thus ensuring any code using it will still continue to function
on that newer perl.
Installed Size: 30.7 kB
Architectures: all