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

Re: symbol-exports needed for Data::Alias

Thread Previous | Thread Next
Matthijs van Duin
March 25, 2007 04:52
Re: symbol-exports needed for Data::Alias
Message ID:
On Sun, Mar 25, 2007 at 09:41:10AM +0200, Rafael Garcia-Suarez wrote:
>On 25/03/07, Matthijs van Duin <> 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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About