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

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 (Prior) 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 contemplating the Monastery: (5)
As of 2017-04-23 23:03 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (433 votes). Check out past polls.