READDIR

readdir DIRHANDLE

Returns the next directory entry for a directory opened by opendir() . If used in a list context, returns all the rest of the entries in the directory. If there are no more entries, returns an undefined value in a scalar context or a null list in a list context.

Back to functions