in reply to Re^2: How to count substrings in an array?
in thread How to count substrings in an array?
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 (Cardinal) on Feb 03, 2013 at 20:07 UTC | |
by LanX (Saint) on Feb 03, 2013 at 20:45 UTC |