Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 perusing the Monastery: (6)
As of 2023-03-28 11:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (67 votes). Check out past polls.

    Notices?