411 REFERENCE · Wikibooks
Perl Programming/Keywords/opendir
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Perl open or Keywords
The opendir keyword
opendir opens a directory called EXPRESION for processing by closedir, readdir, rewinddir, seekdir, and telldir. Returns true, if successful. DIRHANDLE may be an expression with the value of an indirect dirhandle, which is usually the real dirhandle name. If DIRHANDLE is an undefined scalar variable (or array or hash element), the variable is autovivified by assigning a reference to a new anonymous dirhandle. DIRHANDLEs have their own namespace separate from FILEHANDLEs.
Syntax
opendir DIRHANDLE, EXPRESION
Perl open or Keywords