develooper Front page | perl.perl5.porters | Postings from November 2015

Re: smartmatch needs your eyes

Thread Previous | Thread Next
Ricardo Signes
November 22, 2015 03:05
Re: smartmatch needs your eyes
Message ID:
* Ricardo Signes <> [2015-09-21T09:36:45]
> This whole subthread is rebuilding my resolve.  Plain scalars should go pound
> sand.  I don't believe I'll see a way to use them on the rhs of ~~ that will
> be straightforward.

Somebody recently asked me if I'd lost my resolve on this topic, and I said I'd
post my answer: I have not.

I still think the simplified table is a sane and flexible way forward, and that
we can later add means for optimized num/str checks in several ways.

I'll also restate that the ~~x and x~~ overloads are essential to make writing
these not *awful*.  I'm not married to the names, just the feature.


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