Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 surveying the Monastery: (6)
As of 2014-10-26 05:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (151 votes), past polls