Associate user-defined magic to variables from Perl
Magic is Perl's way of enhancing variables. This mechanism lets the user
add extra data to any variable and hook syntactical operations (such as
access, assignment or destruction) that can be applied to it. With this
module, you can add your own magic to any variable without having to write
a single line of XS.
You'll realize that these magic variables look a lot like tied variables.
It's not surprising, as tied variables are implemented as a special kind of
magic, just like any 'irregular' Perl variable : scalars like '$!', '$(' or
'$^W', the '%ENV' and '%SIG' hashes, the '@ISA' array, 'vec()' and
'substr()' lvalues, the threads::shared manpage variables... They all share
the same underlying C API, and this module gives you direct access to it.
- Devel package for openSUSE:Factory
-
1
derived packages
- Links to openSUSE:Factory / perl-Variable-Magic
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:perl/perl-Variable-Magic && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
Variable-Magic-0.64.tar.gz | 0000076158 74.4 KB | |
cpanspec.yml | 0000000468 468 Bytes | |
perl-Variable-Magic.changes | 0000016019 15.6 KB | |
perl-Variable-Magic.spec | 0000002386 2.33 KB |
Revision 30 (latest revision is 31)
- updated to 0.64 see /usr/share/doc/packages/perl-Variable-Magic/Changes 0.64 2024-03-18 23:20 UTC This is a maintenance release. The code contains no functional change. Satisfied users of version 0.63 can skip this update. + Add : Contributing guidelines are now listed in the new CONTRIBUTING file. + Fix : [RT #151104] : fix for t/18-opinfo.t broken under blead Some optimization in core made t/18-opinfo.t fail since perl 5.39.7, but that was reverted before 5.40 was released. This fix will make this test pass even when the optimization is reinstantiated after release freeze. Thanks David Mitchell for reporting and providing a fix.
Comments 0