|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re: Re x3: Perl - Is it an OO Languageby John M. Dlugosz (Monsignor) |
| on Aug 28, 2002 at 12:06 UTC ( [id://193490]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I suppose it's implementation-dependant as to whether this is actually checked. I suppose it's a tradeoff on whether you fail to link if you change the protection but "handle" overloading based on protection! I recall at least one compiler that checked, but it may be because it was more aggressive at optimizing and rearranging things. For a virtual function, re-ordering the definitions will indeed change things on any known compiler.
In Section
Meditations
|
|
||||||||||||||||||||||||