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

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

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

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

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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



8.218. Tie::Hash


Provides skeletal methods for
hash-tying classes. Tie::Hash provides a new
method, as well as the methods TIEHASH,
EXISTS, and CLEAR. The
new method is provided as backup in case a class
has no TIEHASH method.

To write your own tied hashes, the methods listed here are required.
See the perltie manpage for more detailed
information and for examples.

TIEHASH


TIEHASH ClassName, list

Constructor. Associates a new hash instance with class
ClassName. listis a list of additional arguments needed to complete the association.

tie %hash, ClassName, list

CLEAR


CLEAR this

Clears all values from tied hash this.

DELETE


DELETE this, key

Deletes key from tied hash
this.

EXISTS


EXISTS this, key

Verifies that key exists for tied hash
this.

FETCH


FETCH this, key

Retrieves value associated with key for
tied hash this.

FIRSTKEY


FIRSTKEY this

Returns key/value pair for the first key in tied hash
this.

NEXTKEY


NEXTKEY this, lastkey

Returns next key/value pair after lastkeyfor tied hash this.

STORE


STORE this, key, value

Stores value into tied hash
this with key
key.



8.217. Tie::Handle8.219. Tie::Memoize




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

/ 875