|
|
| P is for Practical | |
| PerlMonks |
Re: What operator should perl5porters use for safe dereferencing?by Arunbear (Vicar) |
| on May 30, 2012 at 10:39 UTC ( #973251=note: print w/ replies, xml ) | Need Help?? |
|
I prefer ?-> because it makes it clear that there might not be a receiver for the message send ->, much more than ~> which suggests that some kind of pattern or smart match is involved. In the Groovy language, they call it the Safe Navigation Operator e.g.
In Section
Past Polls
|
|
||||||||||||||||||||||