freebsd-ports/lang/p5-Switch/pkg-descr
Josef Karthauser c4e3d79cbc Switch.pm provides the syntax and semantics for an explicit case
mechanism for Perl. The syntax is minimal, introducing only the
keywords switch and case and conforming to the general pattern of
existing Perl control structures. The semantics are particularly
rich, allowing any one (or more) of nearly 30 forms of matching to
be used when comparing a switch value with its various cases.

PR:	ports/26875
2001-04-28 15:08:08 +00:00

10 lines
415 B
Plaintext

Switch.pm provides the syntax and semantics for an explicit case
mechanism for Perl. The syntax is minimal, introducing only the
keywords switch and case and conforming to the general pattern of
existing Perl control structures. The semantics are particularly
rich, allowing any one (or more) of nearly 30 forms of matching to
be used when comparing a switch value with its various cases.
-Anton
<tobez@tobez.org>