Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Regex shows only last match multiple times?

by Eily (Deacon)
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2015-03-06 22:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (180 votes), past polls