There's more than one way to do things | |
PerlMonks |
Re^7: A wholly inadequate reply to an Anonymous Monkby audreyt (Hermit) |
on Apr 23, 2010 at 13:36 UTC ( [id://836522]=note: print w/replies, xml ) | Need Help?? |
The dash syntax one was straightforward. This works in Perl 5:
It might work in Perl 4 or even Perl 3, but I had not verified yet... :-) As for object systems: Well, the very notion of "object systems" means "interfaces as types", and it's precisely across those interfaces we bridge between calling conventions. Please refer to William Cook's slides and essay for more rigorous explanations of the interface/OO link. So in that sense, there are really no totally incompatible object systems, since any two such systems can embed one another using cross-system meta-object protocol.
In Section
Meditations
|
|