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

Re: Pre-RFC: yield true feature

Thread Previous | Thread Next
Martijn Lievaart
June 14, 2022 17:01
Re: Pre-RFC: yield true feature
Message ID:
Op 14-06-2022 om 18:13 schreef Graham Knop:
> On Tue, Jun 14, 2022 at 6:02 PM Alexander Hartmaier
> <> wrote:
>> For example
> This only cares that require returns a true value, and avoids calling
> return again in the future if so.

Nitpick, 'require' always returns a truthy value, otherwise it dies. So 
this is just a cute shorthand for 'require DateTime::Format::Pg; 



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