Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Search array of file names in directory structure

by Kenosis (Priest)
on Oct 01, 2012 at 15:52 UTC ( #996682=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $regex = join '|', map "\Q$_\E?", @filelist;
    
    ...
    }
    
    $f_count = scalar @found_html;
    
  2. or download this
    1234567_3a_20101000\.html?|99877_b_20111111\.html?|99877_c_20111111\.h
    +tml?|99877_d_20111111\.html?|99877_e_20111111\.html?|99877_uf_2011111
    +1\.html?|1234567_g_20101000\.html?|99877_h_20111111\.html?|99877_i_20
    +111111\.html?|99877_j_20111111\.html?|99877_k_20111111\.html?|99877_l
    +l_20111111\.html?|1234567_pl_20101000\.html?|99877_qa_20111111\.html?
    +|99877_rr_20111111\.html?|99877_sx_20111111\.html?|99877_xy_20111111\
    +.html?|99877_nm_20111111\.html?
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://996682]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (15)
As of 2014-10-30 14:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (208 votes), past polls