develooper Front page | perl.perl5.porters | Postings from July 2019

[perl #120841] ERRSV is undocumented

Tony Cook via RT
July 4, 2019 01:37
[perl #120841] ERRSV is undocumented
Message ID:
On Tue, 06 Oct 2015 03:57:18 -0700, davem wrote:
> On Sat, Dec 21, 2013 at 03:05:50PM -0800, bulk88 wrote:
> > ERRSV is used extensively in perlcall, yet undocumented in perlapi or 
> > perlintern. The only public API alternative to ERRSV is, "sv = 
> > get_sv("@", 0);" and that doesn't work if something did a PP "delete 
> > $::{'@'};" earlier. Please decide whether it is public api or private 
> > api and document it in perlapi or perlintern.
> Well its used in several examples in perlcall.pod and elsewhere, so I
> think it needs to be regarded as part of the API.
> Do you want to contribute a pod entry? Perhaps one for CLEAR_ERRSV() too?

Patch attached.

I also documented the errno handling macros for internal use.


via perlbug:  queue: perl5 status: open Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About