Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: RFC Magic::Attach

by shotgunefx (Parson)
on Jan 21, 2003 at 08:28 UTC ( [id://228620]=note: print w/replies, xml ) Need Help??


in reply to Re: RFC Magic::Attach
in thread RFC Magic::Attach

Yes it worries me too. sv_unmagic() on '~' removes all '~' magic entries currently (Which is why the current implemenation does not call it). I wonder if there would be any way or (where) to determine what modules exist that use internal magic. I would think there are not too many. The only one I know of is Devel::WeakRef and Pixie.

I don't mind taking my own magic entry but worry about clashes with future versions of Perl 5.* and of course other modules developers.

-Lee

"To be civilized is to deny one's nature."

Replies are listed 'Best First'.
Re: Re: Re: RFC Magic::Attach
by pdcawley (Hermit) on Jan 21, 2003 at 09:11 UTC
    Just announce that you're grabbing a magic sigil on p5p, explaining why (that's what I did). Who knows, make it general enough and it might end up in the core.
      Thanks. I actually saw your post to perl5-porters which clued me in on the sv_unmagic issue.

      -Lee

      "To be civilized is to deny one's nature."
        I must take a close look at your actual code. If it's sufficiently general I'll probably change Pixie to make use of it rather than having its own specific implementation.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://228620]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-25 16:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found