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

Re: Pre-RFC: yield true feature

Thread Previous | Thread Next
Yuki Kimoto
June 21, 2022 23:19
Re: Pre-RFC: yield true feature
Message ID:

Are we going in the following direction?

If the "yield_true" feature is enabled,

  - the effect is local-scope. Generally the "yield_true" feature is used
at the top level file scope.
  - It has no effect on the return value of .pm file. Both an implicit
return value and an explicit return value specified by return statement.
  - "require" ignores the return value to determine if the module was
successfully loaded.
  - "require" returns the return value of .pm file just like the current

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