Switch statement for Perl
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@FreeBSD.org>
$
pkg install p5-SwitchOrigin
lang/p5-Switch
Size
41.1KiB
License
ART10, GPLv1+
Maintainer
perl@FreeBSD.org
Dependencies
2 packages
Required by
8 packages