develooper Front page | perl.perl5.porters | Postings from August 2016

Re: Internals:: undocumented

Thread Previous | Thread Next
From:
Father Chrysostomos
Date:
August 10, 2016 05:29
Subject:
Re: Internals:: undocumented
Message ID:
29F5BA84-8C2A-4264-9A58-BE9F6C13125C@cpan.org

On Aug 8, 2016, at 6:24 AM, demerphq <demerphq gmail.com> wrote:

> SvREFCNT() is used in testing, and arguably should not exist, and
> instead should be exposed via an extension, perhaps Devel::Peek, or
> perhaps some build time only module.

Devel::Peek already has SvREFCNT.

> I wonder, do you think we should document constant::_make_const()?
> 
> IMO that function has far more call being documented than anything in
> the Internals namespace.

Not as a public function, I hope.  Nothing should be calling it except constant.pm.  Also, how do you explain in a few words the effect of SvPADTMP on the array elements?  If anything, that explanation should go in universal.c—as a C comment, not as pod.


Thread Previous | Thread Next


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