Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Regex shows only last match multiple times?

by Eily (Parson)
on Feb 13, 2014 at 10:43 UTC ( #1074790=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $count = 0;
    while(<>)
    {
       $count+= () = m< photo/([a-z]+\.[a-z]{3}) >gxi;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1074790]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2017-09-23 16:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (272 votes). Check out past polls.

    Notices?