2022-4-1 23:16 Paul "LeoNerd" Evans <leonerd@leonerd.org.uk> wrote: > > I forget what we called them but those could be spelled: > > use feature qw(export_attr yield_true); > > package Some::Module v1.23 { > sub this_is_exported :export { ... } > > sub this_method_is_not { ... } > > my sub this_is_lexically_private { ... } > } > > # no need for "1;" here because of the yield_true feature > > I ask a question about yield_true feature. This example seems to be adding "1;" to the end of the file scope. Can yield_true feature be implemented actually as a file scope, not as a global scope?Thread Previous | Thread Next