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

[perl #120841] ERRSV is undocumented

From:
Tony Cook via RT
Date:
July 4, 2019 01:37
Subject:
[perl #120841] ERRSV is undocumented
Message ID:
rt-4.0.24-21113-1562204263-1794.120841-15-0@perl.org
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.

Tony


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=120841



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About