Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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 meditating upon the Monastery: (5)
As of 2016-06-01 05:50 GMT
Find Nodes?
    Voting Booth?

    No recent polls found