Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: How to count substrings in an array?

by LanX (Chancellor)
on Feb 03, 2013 at 12:01 UTC ( #1016823=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to count substrings in an array?
in thread How to count substrings in an array?

> Goatse operator, huh? Any idea why it isn't mentioned in perlop?

Maybe because the political correct name is now "Rolex operator" ? ;-)

> I.e. to use inside a map { ... } without introducing temporary variables.

DB<107> $s="a"x10 => "aaaaaaaaaa" DB<108> scalar ( ()= $s =~ /a/g ) => 10

Cheers Rolf

Replies are listed 'Best First'.
Re^4: How to count substrings in an array?
by choroba (Chancellor) on Feb 03, 2013 at 20:07 UTC
    Rolex operator
    Are they renaming the watches to Goatse at the same time to reciprocate?
    لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
      > Are they renaming the watches to Goatse at the same time to reciprocate?

      Almost, it's a circular swap!

      The watches will be rebranded to "Saturn" and the planet is now called "Goatse" ...

      Cheers Rolf

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016823]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2016-12-08 19:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (145 votes). Check out past polls.