At 7:38 PM +0100 12/18/03, Juergen Boemmels wrote:
Dan Sugalski <[EMAIL PROTECTED]> writes:
PDD 03 states that the *object* goes in P2. This works out just fine
with perl 5 style method calls, where the argument list doesn't
distinguish the object other than by position. What happens is that
when a perl 5 sub is called, @_ is a combination of P2 if it's
non-NULL, and the remaining PMC registers. It's slightly more work for
the perl 5 code generator to handle the check, but other than that it
shouldn't be a problem.
It is missing from PDD03 that P2 must be set to NULL in case of a
normal subroutine call.
Fixed. Should be checked in, or will be soon.
--
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk