pkgsrc/lang/p5-Switch/DESCR
obache c4a41cc42c Import p5-Switch-2.16 as lang/p5-Switch.
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.
2011-10-28 09:14:41 +00:00

6 lines
396 B
Text

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.