Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Regex pattern to find directories only with digits

by graff (Chancellor)
on Apr 12, 2013 at 03:03 UTC ( #1028263=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @digit_dirs = grep /^\d+$/, <*>;
    
    print join( "\n", @digit_dirs, "" );
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2023-03-25 16:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (63 votes). Check out past polls.

    Notices?