Perl Cd Bookshelf [Electronic resources] نسخه متنی

This is a Digital Library

With over 100,000 free electronic resource in Persian, Arabic and English

Perl Cd Bookshelf [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید

8.101. File::Path


Creates and deletes multiple
directories with specified permissions. Exports two methods.


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.



rmtree (root, prt, skip)

Deletes subtrees from the directory structure, returning the number
of files successfully deleted. Symbolic links are treated as ordinary
files. Takes the following arguments:


root


Root of the subtree to delete or reference to a list of roots. The
roots, and all files and directories below each root, are deleted.


prt


Boolean. If true, rmtree prints a message for each
file, with the name of the file and whether it''s
using rmdir or unlink to remove
it (or if it''s skipping the file). Default is false.


skip


Boolean. If true, rmtree skips any files to which
you do not have delete access (under VMS) or write access (under
other operating systems). Default is false.


/ 875