Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: meaning of =()=

by JavaFan (Canon)
on Jan 04, 2010 at 18:01 UTC ( #815619=note: print w/ replies, xml ) Need Help??


in reply to meaning of =()=

Is there a name for the =()= "operator"?
It's the goatse (secret) operator.
Does it have any further significance beyond returning the number of matches from a regular expression?
Of course! It can also be used to find out the number of elements returned by localtime. Or by caller. Or any other function that in scalar context doesn't return the number of elements of what it would return in list context.


Comment on Re: meaning of =()=
Select or Download Code
Re^2: meaning of =()=
by Anonymous Monk on Jan 05, 2010 at 21:16 UTC
    One obscure person cannot rename the flying lentil (hairy lentil) to goatse (secret) operator.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2014-12-27 10:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls