Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Altering the inheritance path of an object

by zwon (Abbot)
on Sep 27, 2012 at 15:16 UTC ( #996026=note: print w/replies, xml ) Need Help??

in reply to Altering the inheritance path of an object

You can create a new class with required inheritance path and rebless $obj to this class. Otherwise it is not possible, as inheritance defined by the value of @ISA package variable, and so it is property of the class and not an object.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://996026]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2016-12-09 13:35 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (151 votes). Check out past polls.