Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by BrowserUk (Patriarch)
on Jun 05, 2012 at 12:37 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://974445]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-04-16 06:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found