Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by quester (Vicar)
on Apr 23, 2012 at 07:04 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://966527]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2025-03-27 17:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When you first encountered Perl, which feature amazed you the most?










    Results (70 votes). Check out past polls.

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.