Associate user-defined magic to variables from Perl

Edit Package perl-Variable-Magic
http://search.cpan.org/dist/Variable-Magic/

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.

Refresh
Refresh
Source Files (show unmerged sources)
Filename Size Changed
Variable-Magic-0.63.tar.gz 0000078851 77 KB
cpanspec.yml 0000000468 468 Bytes
perl-Variable-Magic.changes 0000015082 14.7 KB
perl-Variable-Magic.spec 0000002217 2.17 KB
Latest Revision
buildservice-autocommit accepted request 1006449 from Dirk Stoecker's avatar Dirk Stoecker (dstoecker) (revision 29)
baserev update by copy to link target
Comments 0
openSUSE Build Service is sponsored by