Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: newChapter 8
Standard Modules
Next: Reference: directory_tree
 

directories

$inst->directories(module[, string[, dir[,...]]])

Returns list of directories. Only returns directories that contain files from the specified module. Parameters are:

module

Required. The name of a module; returns a list of all directories in the package.

string

Optional. Possible values are prog, man, or all to return program directories, manual directories, or all directories, respectively.

dir

Optional. One or more directories. If specified, only directories under the specified directories are returned.


Previous: Reference: newPerl in a NutshellNext: Reference: directory_tree
Reference: newBook IndexReference: directory_tree