Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: What operator should perl5porters use for safe dereferencing?

by BrowserUk (Pope)
on Jun 05, 2012 at 12:37 UTC ( #974445=note: print w/replies, xml ) Need Help??


in reply to Re^3: What operator should perl5porters use for safe dereferencing?
in thread What operator should perl5porters use for safe dereferencing?

I don't say ~> is bad, I just want every new grammar/op adding during perl5 evolved should keep consistent.

Too late. Tilde already has a full house of contextual overloads:

print ~'fred';; print ~12345;; 18446744073709539270 print ~( 2 != 2 );; 18446744073709551615 print ~~( '2' eq '2' );; 1 ~\'fred';; ╝│Τ═╩פ

One more is neither here nor there.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?

  • Comment on Re^4: What operator should perl5porters use for safe dereferencing?
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://974445]
help
Chatterbox?
[stevieb]: LanX your consideration points are being considered.
[kschwab]: shades of "pimp my ride"

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (14)
As of 2017-03-27 15:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (320 votes). Check out past polls.