Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Use of the => operator

by roju (Friar)
on Aug 10, 2004 at 15:16 UTC ( [id://381618]=note: print w/replies, xml ) Need Help??


in reply to Re: Use of the => operator
in thread Use of the => operator

From perlop: The => digraph is mostly just a synonym for the comma operator. It's useful for documenting arguments that come in pairs. As of release 5.001, it also forces any word to the left of it to be interpreted as a string.

I'd call 01 a word, especially since 01 =~ /^\w+$/ will match. But yup, since perl defines Perl, 01 isn't a word ;)

Replies are listed 'Best First'.
Re^3: Use of the => operator
by Joost (Canon) on Aug 10, 2004 at 15:28 UTC
Re^3: Use of the => operator
by gmpassos (Priest) on Aug 10, 2004 at 15:23 UTC
    Maybe perlop need some updates!

    Graciliano M. P.
    "Creativity is the expression of the liberty".

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-04-19 14:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found