start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

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

mkpath

mkpath (

path

, 

bool

, 

perm

)

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

path

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

bool

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

perm

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


Previous: 8.74 File::Path Perl in a Nutshell Next: Reference: rmtree
8.74 File::Path Book Index Reference: rmtree

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.