summaryrefslogtreecommitdiff
path: root/pod/modpods/Abbrev.pod
diff options
context:
space:
mode:
Diffstat (limited to 'pod/modpods/Abbrev.pod')
-rw-r--r--pod/modpods/Abbrev.pod19
1 files changed, 19 insertions, 0 deletions
diff --git a/pod/modpods/Abbrev.pod b/pod/modpods/Abbrev.pod
new file mode 100644
index 0000000000..85ec88ef85
--- /dev/null
+++ b/pod/modpods/Abbrev.pod
@@ -0,0 +1,19 @@
+=head1 NAME
+
+abbrev - create an abbreviation table from a list
+
+=head1 SYNOPSIS
+
+ use Abbrev;
+ abbrev *HASH, LIST
+
+
+=head1 DESCRIPTION
+
+Stores all unambiguous truncations of each element of LIST
+as keys key in the associative array indicated by C<*hash>.
+The values are the original list elements.
+
+=head1 EXAMPLE
+
+ abbrev(*hash,qw("list edit send abort gripe"));