Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 (Abbot) 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 chanting in the Monastery: (10)
As of 2014-12-21 14:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (106 votes), past polls