Jul 4, 2001 #1 Perl Programmer Aug 24, 2001 2 FR how do i print the contents of a directory using perl - i am using unix. please help
Jul 4, 2001 #2 sucram Programmer May 23, 2001 75 GB There might be an easier way but this is how I do it. opendir(DIR, "/path/to/your/directory" @dir = readdir(DIR); print("@dir" Upvote 0 Downvote
There might be an easier way but this is how I do it. opendir(DIR, "/path/to/your/directory" @dir = readdir(DIR); print("@dir"