Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Altering the inheritance path of an object

by zwon (Monsignor)
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.


Comment on Re: Altering the inheritance path of an object
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2015-07-03 10:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (51 votes), past polls