readdir « File « Perl






1.Using readdir to get the content in a folder
2.List the files and subdirectories in a directory.
3.Read a directory entry
4.The directory listing
5.To read a directory entry (usually a file name), use the readdir function