Package variable-magic-pm588-0.52-1
| System | Binary Distributions | CVS/rsync Source Distributions | |
|---|---|---|---|
10.8/x86_64 | |||
10.7/x86_64 | |||
10.6/x86_64 | |||
10.6/i386 | |||
10.5/i386 | |||
10.5/powerpc | 0.52-1 | ||
| Description: | Associate user-defined magic to variables (0.52-1) | |
Magic is Perl way of enhancing objects. This mechanism let the user
add extra data to any variable and hook syntaxical operations (such
as access, assignation or destruction) that can be applied to it.
With this module, you can add your own magic to any variable without
the pain of the C API.
Magic differs from tieing and overloading in several ways :
* Magic isn't copied on assignation (as for blessed references), you
attach it to variables, not values.
* It doesn't replace the original semantics, magic callbacks trigger
before the original action take place, and can't prevent it to
happen.
* It's mostly invisible at the Perl level, magical and non-magical
variables cannot be distinguished with ref, reftype or another
trick.
* It's notably faster, since perl's way of handling magic is lighter
by nature, and there's no need for any method resolution. | ||
| Section: | libs/perlmods | |
| Maintainer: | Benjamin Reed <variable-magic-pmATfinkDOTraccoonfinkDOTcom> | |
| Website: | http://search.cpan.org/dist/Variable-Magic | |
| License: | Artistic | |
| Info-File: | dists/10.4/stable/main/finkinfo/libs/perlmods/variable-magic-pm.info CVS log, Last Changed: Thu, 16 May 2013 12:41:22 (UTC) | |
Section list - Flat package list - Search packages
(*) = Unsupported distribution.