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

Re: Revisiting smart match

Thread Previous | Thread Next
From:
Diab Jerius
Date:
December 14, 2017 14:39
Subject:
Re: Revisiting smart match
Message ID:
20171213152709.29458.qmail@lists-nntp.develooper.com
On Wed, 29 Nov 2017 22:27:06 +0000, Zefram wrote:

> Dan Book wrote:
>>Just a note, not sure if it would be a problem here, but 'with' is heavily
>>used as a function for composing roles in Moo(se) and Role::Tiny.
> 
> Damn.  Technically there are means to unambiguously refer to a function
> with the same name as a keyword, but they're cumbersome.  And we wouldn't
> be bothered about a clash with a random CPAN module, but these MOP things
> are sufficiently widely used that it's worth avoiding the clash.
> 
> Other prepositions that might serve: "about", "apropos", "per", "via".
> The geographical connotation of "about" might go well with "where".
> 
> -zefram

Sorry for the late comment:

where is used extensively in PDL. Turning it into a reserved word
would break lots of code.

Diab

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About