Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2015-11-28 20:35 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (744 votes), past polls