At 07:46 PM 6/14/2001 +0100, Simon Cozens wrote:
>On Thu, Jun 14, 2001 at 11:05:31AM -0700, Benjamin Stuhl wrote:
> > Who would ever _want_ to write 'sv = pp_gvsv(aTHX_ gv);'?
>
>Read comp.lang.perl.moderated for a few weeks and look at the XS
>questions. In the past month, we've had people needing to know how
>to get the caller and how to bless a scalar. And these aren't trivial
>things to do currently;
> av = pp_caller(aTHX_);
> pp_bless(aTHX_ rv, class);
>would have been much nicer answers to be able to give.
Hopefully folks won't have to resort to that sort of thing in perl 6--if
they do it's a sign we've failed in our design of the extension API.
>This reminds us that the other bugger with decoding ops is that quite
>a few things are list operators, and hence variadic anyway.
They'll be monadic in perl 6. Granted that one parameter will be a pointer
to a list, but still... a single parameter.
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk