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

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
Replies are listed 'Best First'.
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 exploiting the Monastery: (8)
As of 2015-11-30 23:30 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (788 votes), past polls