Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: messing with @ISA - unblessing

by shmem (Chancellor)
on Aug 02, 2008 at 22:25 UTC ( #701854=note: print w/replies, xml ) Need Help??


in reply to messing with @ISA - unblessing

I haven't explored the implications, but I have the gut feeling that Alter might provide a solution, since with that inside-out package objects don't loose their attributes on re-blessing and re-blessing back. Since @ISA is package (class) level, you might need to provide an equivalent method dispatch path on the object level, hard to tell without seeing the whole picture. But the interesting thing is - why do you need re-blessing? might that be a XY Problem?

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2020-11-30 01:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?