http://qs321.pair.com?node_id=701854


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}