Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: The return value of m// (clues)

by quester (Vicar)
on Apr 23, 2012 at 07:04 UTC ( #966527=note: print w/replies, xml ) Need Help??


in reply to Re^2: The return value of m// (clues)
in thread The return value of m//

Hint: look for the phrase "search position" in perlop. Also consider that scalar global matches are typically used in loops, for example

for my $match ($a =~ /\d+/g) { print "$match\n" }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://966527]
help
Chatterbox?
[Tux]: as in, some others might appreciate a good morning or goor evening
[Tux]: Glasgow, as in TPCiG-2018 !!!! :) :)
erix would rather appreciate proof of a goodmorning
[marto]: Tux so I'm told :)
[ww]: ww seconds erix view
[ww]: or, better, erix' view

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (10)
As of 2017-09-22 12:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (263 votes). Check out past polls.

    Notices?