RIV::ReadDir
The RIV::ReadDir function returns a reference
to an array of filenames that reside in the specified directory.
Synopsis
RIV::ReadDir($dirName)Parameters
- $dirName
- Specifies the name of the directory to read.
Description
The RIV::ReadDir function
returns a reference to an array of filenames that reside in the directory
specified in the $dirName parameter. The RIV::ReadDir function
provides the same functionality as the standard Perl readdir function.
The RIV::ReadDir function is supplied to accommodate
known issues when trying to use readdir with ncp_perl on
some Linux® platforms.
Example Usage
$fileListArrayRef = RIV::ReadDir($dirName);
Returns
Upon completion, the RIV::ReadDir function
returns a reference to an array of filenames that reside in the directory
specified in the $dirName parameter.