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

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

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

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

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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



8.127. IO::File


Inherits from IO::Handle and
IO::Seekable, extending them with methods specific to filehandles.
Provides three such methods.

new


$fh = new ([params])

Constructor. Creates an IO::File object, passing any parameters to
the method open. If the open fails, the object is
destroyed. Otherwise, it is returned to the caller.

new_tmpfile


$fh = new_tmpfile

Constructor. Creates an IO::File object opened for read/write on a
newly created temporary file. If the system permits, the temporary
file is anonymous; if the temporary file cannot be created or opened,
the object is destroyed. Otherwise, it is returned to the caller.

open


$fh->open(filename[, mode[, perms]])

Opens the newly created filehandle. Accepts one, two, or three
parameters. With one parameter, it acts as a frontend for
Perl's built-in open function.
With two parameters, the first parameter is a filename, and the
second is the open mode, optionally followed by a third parameter,
the file permission value.



8.126. IO8.128. IO::Handle




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

/ 875