Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 pondering the Monastery: (8)
As of 2014-09-22 15:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (198 votes), past polls