develooper Front page | perl.perl5.porters | Postings from December 2017

Re: Revisiting smart match

Thread Previous | Thread Next
Craig A. Berry
December 19, 2017 01:42
Re: Revisiting smart match
Message ID:
On Mon, Dec 18, 2017 at 5:25 PM, Elizabeth Mattijsen <> wrote:
>> On 18 Dec 2017, at 23:51, Craig A. Berry <> wrote:
>> For less naturalness but more precision, replace whenever/whenas with
>> whenis/whenlike.
> my 1.5c worth: I think not using whenever for this functionality, would prevent a lot of confusion with Perl 6:

I don't see how the proposed match statement could be confused with an
interval timer, and "whenever" was in English before it was in Perl 6.
It's simply not practical to disallow any word that's ever been used
before in a programming language.  "Having," for example, means
something in SQL that has some similarities to and differences from
its proposed use in this thread, but people would have to know that a
fancy match in Perl is not a SELECT statement in SQL.

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