develooper Front page | perl.perl5.porters | Postings from March 2007

Re: symbol-exports needed for Data::Alias

Thread Previous | Thread Next
From:
Matthijs van Duin
Date:
March 25, 2007 04:52
Subject:
Re: symbol-exports needed for Data::Alias
Message ID:
20070325115202.GI24017@cds.nl
On Sun, Mar 25, 2007 at 09:41:10AM +0200, Rafael Garcia-Suarez wrote:
>On 25/03/07, Matthijs van Duin <xmath@cpan.org> wrote:
>>Out of curiosity, why are they also marked with the E flag?  It seems 
>>slightly more invasive than strictly needed -- given that it causes 
>>embed.h to change to make the functions available under PERL_EXT, while 
>>Data::Alias needs to #define PERL_CORE to work anyway.
>
>Does it ? It seemed more logical to me. Modules aren't supposed to 
>define PERL_CORE...

well, modules outside the core aren't supposed to define PERL_EXT 
either, are they? :-)

I tried compiling with PERL_EXT instead of PERL_CORE, but it didn't 
work... I need constants from perly.h which are #ifdef PERL_CORE

-- 
Matthijs van Duin  --  May the Forth be with you!

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