Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: how list all the files and directories?

by Laurent_R (Abbot)
on Jan 06, 2014 at 18:47 UTC ( #1069566=note: print w/replies, xml ) Need Help??

in reply to how list all the files and directories?

You are storing the files and directories into two arrays, but are never printing them. If you expect your program to output the filenames, then print the content of the @file array (or the filename when you grab it). .
  • Comment on Re: how list all the files and directories?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2016-10-22 03:05 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (291 votes). Check out past polls.