Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re (tilly) 2 (try it): Abstract class methods

by tilly (Archbishop)
on Dec 01, 2000 at 05:48 UTC ( [id://44282]=note: print w/replies, xml ) Need Help??


in reply to Re: Abstract class methods
in thread Interfaces in Perl?

Please try it and attempt to produce a case of breakage.

In my tests it works perfectly.

In theory it should work fine as well.

If A is an abstract class and B inherits from it then the check that B has implemented the methods does not happen when B calls import on A since A ignores the method call with itself as the class. It only happens when A handles the call to import B into whatever C wanted to use it, at which point B has been compiled and loaded.

  • Comment on Re (tilly) 2 (try it): Abstract class methods

Replies are listed 'Best First'.
Re: Abstract class methods
by Dominus (Parson) on Dec 01, 2000 at 06:01 UTC
    tilly says:
    > In my tests it works perfectly.
    Oh, I see! Yes, that's really clever.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-04-26 08:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found