At 03:09 PM 4/11/2001 -0400, John Siracusa wrote:
>On 4/11/01 10:55 AM, Dan Sugalski wrote:
> > It does fix the link issues, though. perl6.so won't ever have an
> > unqualified function in it--they'll all have either a Perl_ or _Perl_
> > prefix on them, and all global data will have a PL_ prefix on it.
>
>Remind me again why it's PL_ and not PERL_?

Well, Perl_ and PERL_ won't work, since that's relying on case-sensitivity 
in the various linkers, which is a Bad Thing. Having Perl_ and PL_ to 
separate code and data is in there mainly to make separating things 
programmatically easier. We could, I suppose, make everything Perl_ and 
have a config file somewhere with the type (data/code/whatever) indicated.

That's probably the best thing--since we're exporting only a reasonably few 
things, and only explicitly, it ought to be OK.

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to