內容

名稱

Text::Abbrev - abbrev - 從清單建立縮寫表

語法

use Text::Abbrev;
abbrev $hashref, LIST

說明

將 LIST 中每個元素的明確截斷儲存在由 $hashref 參照的關聯陣列中作為鍵。值為原始清單元素。

範例

$hashref = abbrev qw(list edit send abort gripe);

%hash = abbrev qw(list edit send abort gripe);

abbrev $hashref, qw(list edit send abort gripe);

abbrev(*hash, qw(list edit send abort gripe));