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

Re: Pre-RFC: a `module` keyword

Thread Previous | Thread Next
Dan Book
January 25, 2022 15:33
Re: Pre-RFC: a `module` keyword
Message ID:
On Tue, Jan 25, 2022 at 5:42 AM Neil Bowers <> wrote:

> I like the idea of syntactic support for function libraries, but I don’t
> like the proposed use of the word "module".
> We have existing, well-established, terminology where a *module* is a
> package in a .pm file of the corresponding name, and a module can either be
> a class *or* a function library (or the love child of both).
> I don’t have a great alternative to suggest ("sublibrary", "exporter",
> "library", … ?)

Each of these features can simply be implemented in the existing syntax and
no new keyword is needed.


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