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

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

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

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

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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



8.204. Text::Abbrev


Given a list of strings, creates a hash
of unambiguous abbreviations. Exports one function.

abbrev


abbrev (\%hashref, list)

Takes each string in list and constructs
the hash referenced by
\%hashref. Each key is
an unambiguous truncation of one of the strings, and the value is the
full string (in which unambiguous means that there is only one
possible expansion that matches one of the strings in the list). For
example, if list contains
"file" and
"find", then the key/value pairs
created include:

fil => file
file => file
fin => find
find => find

Both "f" and
"fi" are ambiguous, since they
start both words, and therefore, they don't appear
as keys.



8.203. Test::Simple8.205. Text::Balanced




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

/ 875