Name
files
Synopsis
$inst
->files(module
[,string
[,dir
[,...]]])
Returns list of filenames. Parameters are:
module
Required. The name of a module; returns a list of all filenames in the package. For a list of core files, use the special module name Perl.
string
Optional. Possible values are
prog
,man
, orall
to return program files, manual files, or all files, respectively.dir
Optional. One or more directories. If specified, only filenames 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.