develooper Front page | perl.perl5.porters | Postings from May 2010

Re: PERL_NO_GET_CONTEXT (Was: [PATCH] shift; optimization)

Thread Previous | Thread Next
Steffen Mueller
May 3, 2010 23:44
Re: PERL_NO_GET_CONTEXT (Was: [PATCH] shift; optimization)
Message ID:
Jan Dubois wrote:
> On Mon, 03 May 2010, Steffen Mueller wrote:
>> Jan Dubois wrote:
>>> So please make sure you define PERL_NO_GET_CONTEXT in your modules
>>> if you are an XS author. It is not on by default for backwards
>>> compatibility reasons only.
>> Should the be prominently documented somewhere?
> From my point of view it is already prominently documented
> in perlguts.pod.
> The problem with the Perl documentation is that there is so much
> of it, so not everything can be put prominently at the top of
> each file...

I agree that the Perl docs are big and not always well laid out, but is 
perl*guts* the place to document something that an XS author should 
certainly remember? OTOH, it's discussed to great lengths in perlguts, 
so if we assume that an XS author has at least skimmed the document as 
he should, he won't completely oblivious to it.

Also, is this a default that we might be able to change down the road?

Best regards,

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About