Полезная информация

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.74 File::PathChapter 8
Standard Modules
Next: Reference: rmtree


mkpath (path, bool, perm)

Creates a directory path and returns a list of all directories created. Takes the following arguments:


Name of the path or reference to a list of paths to create.


Boolean. If true, mkpath prints the name of each directory as it is created. Default is false.


Numeric mode indicating the permissions to use when creating the directories. Default is 0777.

Previous: 8.74 File::PathPerl in a NutshellNext: Reference: rmtree
8.74 File::PathBook IndexReference: rmtree