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

Re: I am confused about the future of Const::Fast

Thread Previous
From:
Leon Timmermans
Date:
September 19, 2016 14:07
Subject:
Re: I am confused about the future of Const::Fast
Message ID:
CAHhgV8gpopqPbuR7So+XFWL-FzYR7SG=hFnGPSZaE_DDePYEig@mail.gmail.com
On Mon, Sep 19, 2016 at 3:23 PM, A. Sinan Unur <nanis@cpan.org> wrote:

> For reference:
>
> https://rt.cpan.org/Public/Bug/Display.html?id=117420
>
> http://www.nntp.perl.org/group/perl.perl5.porters/2016/08/msg239254.html
>
> http://www.cpantesters.org/cpan/report/84878f62-6c05-1014-
> b8bd-31fc60733341
>
> Const::Fast is one of my favorite modules, but if it will remain
> broken in future versions of Perl, I'd rather not recommend it at this
> point. Is _clear_placeholders going to be moved back to Internals? Or,
> is Const::Fast going to detect perl version, and just use the
> applicable method?
>
> I must admit I do not follow the list religiously, but I haven't seen
> any discussion of this. Please do point it out to me if there was and
> I just missed it.
>
> Thank you.
>

I'm not happy with the recent changes, and have mentioned that before on
#128966 but that seems to have been warnocked. Internals::hv_clear_placeholders
should not have been removed without a good solution for "make this thing
readonly". Moving it to Hash::Util is silly, the darn thing shouldn't be
necessary in the first place. IMNSHO it's the wrong solution to the problem
of exposing this function via Internals.

But to answer your question, it will be fixed before 5.26, but open
question is how we will to that.

Leon

Thread Previous


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