call methods on native types

Edit Package perl-autobox

The autobox pragma allows methods to be called on integers, floats,
strings, arrays, hashes, and code references in exactly the same manner as
blessed references.

The autoboxing is transparent: boxed values are not blessed into their
(user-defined) implementation class (unless the method elects to bestow
such a blessing) - they simply use its methods as though they are.

The classes (packages) into which the native types are boxed are fully
configurable. By default, a method invoked on a non-object is assumed to be
defined in a class whose name corresponds to the 'ref()' type of that value
- or SCALAR if the value is a non-reference.

Refresh
Refresh
Source Files
Filename Size Changed
autobox-v3.0.1.tar.gz 0000087047 85 KB
cpanspec.yml 0000000468 468 Bytes
perl-autobox.changes 0000004268 4.17 KB
perl-autobox.spec 0000002487 2.43 KB
Latest Revision
Yuchen Lin's avatar Yuchen Lin (maxlin_factory) accepted request 939896 from Yuchen Lin's avatar Yuchen Lin (maxlin_factory) (revision 2)
Automatically create request by update submitter. This is trying to update package to openSUSE:Backports:SLE-15-SP4 from openSUSE:Factory. Please review this change and decline it if Leap do not need it.
Comments 0
openSUSE Build Service is sponsored by