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

Re: Pre-RFC: yield true feature

Thread Previous | Thread Next
From:
Martijn Lievaart
Date:
June 23, 2022 05:58
Subject:
Re: Pre-RFC: yield true feature
Message ID:
a963f659-0a48-e02e-a15a-137e6b4be56f@rtij.nl
Op 22-06-2022 om 08:29 schreef Dan Book:
> On Wed, Jun 22, 2022 at 2:00 AM Martijn Lievaart <m@rtij.nl> wrote:
>
>     Op 22-06-2022 om 03:55 schreef Nicolas Mendoza:
>>
>>     Are there examples of people utilizing the last/return value of a
>>     included file to state an error in CPAN or in the wild?
>>
>>
>
>     I use this to load specific implementations of generic subs. By
>     do-ing a specific file which returns the sub, I load a reference
>     to the correct implementation for this run.
>
>
> The behavior of "do" is not affected by what's being discussed here.
>

I'm not sure it isn't, although I agree it shouldn't. And I think 
consensus is emerging it shouldn't.


HTH,

M4


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