Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Can you help me understand this OO notation/issue?

by mr.nick (Chaplain)
on Sep 06, 2013 at 15:08 UTC ( [id://1052725]=note: print w/replies, xml ) Need Help??


in reply to Re: Can you help me understand this OO notation/issue?
in thread Can you help me understand this OO notation/issue?

Now that you mention it, that does seem to be true. I guess the @PARENT::ISA = @ISA is actually creating a namespace called "PARENT" with @ISA in it, then the PARENT::new() call searches that @ISA and finds the Event package, then calls the new. Interesting. That would explain why the Event08 is always being called; it's the last to populate @ISA in PARENT.

Thanks! (I should have noticed this, though ... too much PHP coding).

mr.nick ...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-03-29 11:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found