develooper Front page | perl.perl5.porters | Postings from January 2011

Re: [PATCH] Add "safe arrow/safe dereference" operator: &&-> (v2)

Thread Previous | Thread Next
Jesse Vincent
January 28, 2011 06:12
Re: [PATCH] Add "safe arrow/safe dereference" operator: &&-> (v2)
Message ID:

On Tue, Dec 07, 2010 at 01:31:55PM -0800, David Caldwell wrote:
> Hello,
>  I have a new version of the "safe arrow" patch. I've kept &&-> as
> the spelling because, although it's a bit of a mouthful, there
> doesn't seem to be an alternative spelling that everyone likes
> better.
>  This version makes &&-> a single token which makes "&& ->" no
> longer valid. The toke.c code is a little hairy but it is not
> without precedent.


I'm sorry for my long silence on this topic.  After a fair bit of 
discussion and consultation, I've settled on ?-> as the spelling I'd
like to see for your &&-> defined dereference.  

If you're up for submitting a revised patch, I'd like to see if we can
get it applied and tested more widely before the 5.13 release on the


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