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

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

by LanX (Canon)
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


Comment on Re^3: How to count substrings in an array?
Download Code
Re^4: How to count substrings in an array?
by choroba (Canon) 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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (15)
As of 2015-07-06 12:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (74 votes), past polls