Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: $scalar => 'WTF?';

by kejohm (Hermit)
on Sep 07, 2011 at 01:21 UTC ( #924496=note: print w/ replies, xml ) Need Help??


in reply to $scalar => 'WTF?';

=> is known as the 'fat comma operator' and works just like the comma operator, except it causes its left operand to be interpreted as a string if it is a bareword. See comma operator for more info.


Comment on Re: $scalar => 'WTF?';
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://924496]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2015-07-02 10:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (33 votes), past polls