in reply to Modules for magic

From Perl, you can use Devel::Peek or B to inspect SVs with magic attached. But for most uses, the only way to access an SV magic is through the C API.

Are you trying to do something specific or just investigating about the matter?

Replies are listed 'Best First'.
Re^2: Modules for magic
by dk (Chaplain) on Apr 11, 2007 at 14:44 UTC
    Both actually. I'm curious if that be possible to somehow label each scalar a subroutine sees without storing the label in a separate hash, but on the scalar itself, using magic. Even if there is a non-magic way of doing that (which very well might be, I just doubt that), I'd be anyway interested in a common magic framework.