On Thu, Oct 28, 2021 at 02:39:15PM -0300, breno wrote: > > ## Rejected Ideas > > I am unaware whether this feature has already been proposed for Perl 5 > in the past. > For completeness, I have (finally) looked in the archives for previous proposals for the same feature. It used to be called "safe dereference" or "safe arrow", and was discussed over a decade ago. Here are the three threads I found: Subject: [PATCH] Add "safe arrow/safe dereference" operator: &&-> From: David Caldwell Date: Fri, 12 Nov 2010 20:56:43 -0800 Messages: 80, includes a patch Link: https://www.nntp.perl.org/group/perl.perl5.porters/2010/11/msg165931.html Subject: Semantics of safe-deref From: Jesse Vincent Date: Mon, 29 Nov 2010 16:26:57 -0500 Messages: 20 Link: https://www.nntp.perl.org/group/perl.perl5.porters/2010/11/msg166564.html Subject: the old new safe dereference operator From: Ricardo Signes Date: Thu, 24 May 2012 21:51:16 -0400 Messages: 85 Link: https://www.nntp.perl.org/group/perl.perl5.porters/2012/05/msg187114.html It would be worth reading them, in case some of things discussed then were not discussed this time around. And maybe a ten years old patch can still be somewhat useful. -- Philippe Bruhat (BooK) We laugh at stupidity because the alternative is to cry over it. (Moral from Groo The Wanderer #71 (Epic))Thread Next