summaryrefslogtreecommitdiff
path: root/lang/p5-Switch/DESCR
diff options
context:
space:
mode:
Diffstat (limited to 'lang/p5-Switch/DESCR')
-rw-r--r--lang/p5-Switch/DESCR6
1 files changed, 6 insertions, 0 deletions
diff --git a/lang/p5-Switch/DESCR b/lang/p5-Switch/DESCR
new file mode 100644
index 00000000000..92d13b3e5a5
--- /dev/null
+++ b/lang/p5-Switch/DESCR
@@ -0,0 +1,6 @@
+Switch.pm provides the syntax and semantics for an explicit case mechanism for
+Perl. The syntax is minimal, introducing only the keywords C<switch> and
+C<case> and conforming to the general pattern of existing Perl control
+structures. The semantics are particularly rich, allowing any one (or more) of
+early 30 forms of matching to be used when comparing a switch value with its
+various cases.