develooper Front page | perl.perl5.porters | Postings from June 2022

Re: Pre-RFC: yield true feature

Thread Previous | Thread Next
Darren Duncan
June 22, 2022 07:12
Re: Pre-RFC: yield true feature
Message ID:
On 2022-06-21 11:43 p.m., Yuki Kimoto wrote:
> There seems to be a lot of misunderstanding and confusion due to the feature 
> name ”yeald_true” and the reference implementation "true.xs".
> I think the correct feature name is a shortened name for "require ignores the 
> return value of the module file to check if the module was loaded successfully".

I will repeat (reworded) something I said before, which is that I feel this 
feature should be renamed, as yield_true is clearly and repeatedly giving people 
the wrong idea for what it does, and the feature would be good to be renamed to 
something that more accurately describes what it does.  Or if that isn't 
renamed, at least the documentation will have to be very clear to explain the 
real behavior and not what other behaviors the name would seem to imply. -- 
Darren Duncan

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