develooper Front page | perl.perl5.porters | Postings from December 2008

Re: modules on CPAN defining PERL_CORE

Thread Previous | Thread Next
From:
Matt S Trout
Date:
December 6, 2008 15:15
Subject:
Re: modules on CPAN defining PERL_CORE
Message ID:
20081206231509.GA27213@agaton.scsys.co.uk
On Mon, Nov 24, 2008 at 04:36:01PM +0100, Rafael Garcia-Suarez wrote:
> > 4: HvMROMETA()/Perl_mro_meta_init()/struct xpvhv_aux/cache_gen

People's interest in this seems to be because of

 HvMROMETA(stash)->pkg_gen

and

 HvMROMETA(stash)->cv_gen

- mro.pm exposes the former but not the latter, and if you're accessing these
then it's generally for speed so going through an XSUB is suboptimal.

I can see not wanting to make the macro's dependencies public, though - what
if we just supplied a function that wrapped it?

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/

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