[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#518057: ITP: libvariable-magic-perl -- module to associate user-defined magic to variables from Perl



Eugene V. Lyubimkin wrote:
Antonio Radici wrote:
Variable::Magic is Perl way of enhancing objects. This mechanism lets the user add extra data to any variable and hook syntaxical 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.
Is it better than 'tie' approach?


Hi,
I suppose that they are different approach, with the tie approach you can use only the
operational available to the actual perl type (array, or hash for example).

The main purpose of this ITP, anyway, is to add a missing dependency for
libb-hooks-endofscope-perl, currently packaged by the debian perl group (same as this
ITP).

Cheers
Antonio



Reply to: