develooper Front page | perl.perl6.internals | Postings from June 2001

Re: Should the op dispatch loop decode?

Thread Previous | Thread Next
From:
Simon Cozens
Date:
June 14, 2001 11:46
Subject:
Re: Should the op dispatch loop decode?
Message ID:
20010614194650.A2115@deep-dark-truthful-mirror.pmb.ox.ac.uk
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.

This reminds us that the other bugger with decoding ops is that quite
a few things are list operators, and hence variadic anyway.

-- 
It would be different if I had an actual ambition to be a corporate pitbull
and be the righteous, noble paperwork warrior tirelessly fighting for the
future vision of a semifunctional organisation. Instead, it's just a complete 
downer. - Red Drag Diva

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About