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

Re: Preview reviews / comments on feature-class branch

Thread Previous | Thread Next
Dagfinn Ilmari Mannsåker
September 28, 2022 09:55
Re: Preview reviews / comments on feature-class branch
Message ID:
Yuki Kimoto <> writes:

> 2022年9月28日(水) 2:12 Paul "LeoNerd" Evans <>:
>> TL;DR - please help review this large work ahead of PR-time, to avoid
>>   surprises later on and make the process run smoother
>>   (or explicitly opt-out)
> Before proceeding, I would like to discuss how to use the class
> and method syntax in existing source codes.

What is there to discuss?  Just make sure you don't have functions
called `class`, `field` or `method` that the new keywords would conflict
with, add `use feature 'class';` and use it.

Existing code that just uses the classes and objects doesn't need to
know or care whether they're implemented with the `class` feature, some
other object system or manually, as long as the public API stays the

- ilmari

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