Will Coleda writes:
> I didn't expect the code to be very usable, merely compilable. =-)
> 
> If I want to call myself from myself, how do I do that then?
> 
> For anything else, I do:
> 
>   .local Sub foo_sub
>   newsub foo_sub, .Sub, __foo
> 
>   .pcc_begin prototyped
>   .arg $S1
>   .pcc_call foo_sub
>   tellmeagainwhyineedthislabel:
>   .result $S1
>   .pcc_end
> 
> 
> If I can't explicitly create foo_sub if I'm in the middle of __foo, how 
> do I recurse using calling conventions

You could use P0, which holds the subroutine object.  Like using &_ in
Perl 6.

Luke

Reply via email to