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

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

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

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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

8.98. File::Copy


Copies or moves files or filehandles
from one location to another. Returns 1 on
success, 0 on failure, or sets
$! on error.


copy (source, dest[, buffsize])

Copies source to
dest. Takes the following arguments:


source


The source string, FileHandle reference, or FileHandle glob. If
source is a filehandle, it is read from;
if it''s a filename, the filehandle is opened for
reading.


dest


The destination string, FileHandle reference, or FileHandle glob.
dest is created if necessary and written
to.


buffsize


Specifies the size of the buffer to be used for copying. Optional.



cp (source, dest[, buffsize])

Like copy, but exported only on request:

use File::Copy "cp"


move (source, dest)

Moves source to
dest. If the destination exists and is a
directory, and the source is not a directory, then the source file is
renamed into the directory specified by
dest. Return values are the same as for
copy.


mv (source, dest)

Like move, but exported only on request:

use File::Copy "mv"

/ 875