Home
Perl
Array
CGI
Class
Data Type
Database
File
GUI
Hash
Language Basics
Network
Regular Expression
Report
Statement
String
Subroutine
System Functions
Win32
XML
closedir « File « Perl
Perl
File
closedir
1.
List the files and subdirectories in a directory in alphabetical order.
2.
When you're done with a directory, you need to close it with the closedir command:
3.
The closedir function closes the directory that was opened by the opendir function.