Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^4: compile or run-time inheritance

by diotalevi (Canon)
on Jun 18, 2006 at 15:17 UTC ( #556098=note: print w/replies, xml ) Need Help??

in reply to Re^3: compile or run-time inheritance
in thread compile or run-time inheritance

Well, it just turned out that you were wrong. There's nothing special about INIT or BEGIN when it comes to inheritance. Inheritance just requires that @ISA have been set at some time prior to when an @ISA-using operation is executing. It's an utter red herring. If a person is stuck with making the change occur "earlier" they can always say BEGIN { @ISA = ... } or use base ...; both of which push that bit of @ISA setting as early as possible for that little snippet of code.

⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

Replies are listed 'Best First'.
Re^5: compile or run-time inheritance
by ioannis (Monsignor) on Jun 18, 2006 at 15:42 UTC
    There is a problem understanding one another. I yield this discussion to a close.

Log In?

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

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 2018-02-22 04:04 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (288 votes). Check out past polls.