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

Re: A troubling thought - smartmatch reimagined

Thread Previous | Thread Next
From:
Matthew Persico
Date:
June 27, 2022 18:27
Subject:
Re: A troubling thought - smartmatch reimagined
Message ID:
CAL20dLAbCpXPcRE0oyQRfM2bwgrBqAgMgbbas-bKw4zpn-cf=g@mail.gmail.com
TL;DR: It's time to stop trying to reinvent "case" in Perl.
Long story:
https://www.reddit.com/r/perl/comments/vkzawl/comment/idyjrbw/?utm_source=share&utm_medium=web2x&context=3

On Sun, Jun 26, 2022 at 12:52 AM Tomasz Konojacki <me@xenu.pl> wrote:

> On Sun, 26 Jun 2022 06:46:58 +0200
> Tomasz Konojacki <me@xenu.pl> wrote:
>
> > Now, to address your "undef" problem. I think your post lacks context.
> > If it was just about "match", it would've been trivial to fix, you could
> > just add "defined { }".
>
> I meant "undef {}". "defined {}", while not completely pointless, would
> be much less useful.
>


-- 
Matthew O. Persico

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