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

Re: modules on CPAN defining PERL_CORE

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
November 24, 2008 07:36
Subject:
Re: modules on CPAN defining PERL_CORE
Message ID:
b77c1dce0811240736u683395c8qff33989ff313bb8b@mail.gmail.com
2008/11/24 Nicholas Clark <nick@ccl4.org>:
> So it looks like there are precisely 4 questions to answer:
>
> 1: Perl_setdefout()

Could go public without damage. Still safer than accessing PL_defoutgv
directly.

> 2: constants in perly.h

Constants are cheap to add, and cheap to test for. Like

#ifdef PERL_PERLY_DO
    ...
#endif

> 3: Perl_linklist()

On one hand, this method could be made static.
On the other hand, that's a nice way to walk an optree. And the interface
is so simple and generic that it can survive any internal change :)

> 4: HvMROMETA()/Perl_mro_meta_init()/struct xpvhv_aux/cache_gen

I don't know. I'd rather avoid to make them public then.

-- 
But 'tis evident to me, when they affirm, 'That they who have seen Paris,
have seen every thing,' they must mean to speak of those who have seen it
by day-light. -- Laurence Sterne, Tristram Shandy

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