Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: how list all the files and directories?

by Laurent_R (Parson)
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2014-12-26 02:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (164 votes), past polls