Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2015-05-30 05:56 GMT
Find Nodes?
    Voting Booth?

    In my home, the TV remote control is ...

    Results (593 votes), past polls