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

Re: Revisiting smart match

Thread Previous | Thread Next
December 19, 2017 01:47
Re: Revisiting smart match
Message ID:
Craig A. Berry wrote:
>whereas($input) {

That's poor.  Per English meaning, the operand of "whereas" should be
a condition, not a value, so it's totally unsuitable for this role.

>        whenever ($_ eq "string") { die "A" }

"whenever" has unhelpful temporal connotations.

>        whenas ($matcher)      { die "C" }

This doesn't read naturally.


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