Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Put "ls" in array

by xiaoyafeng (Chaplain)
on Apr 27, 2012 at 15:13 UTC ( #967664=note: print w/ replies, xml ) Need Help??


in reply to Put "ls" in array

for a beginner, I recommend File::Find::Rule for this usage. below is some examples grasp from its synopsis:

# find all the subdirectories of a given directory my @subdirs = File::Find::Rule->directory->in( $directory ); # find all the .pm files in @INC my @files = File::Find::Rule->file() ->name( '*.pm' ) ->in( @INC );




I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction


Comment on Re: Put "ls" in array
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (12)
As of 2014-09-19 08:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (133 votes), past polls