Name

directories

Synopsis

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

Returns list of directories. Returns only 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.

Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.