./lang/p5-Switch, Switch statement for Perl

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2022Q1, Version: 2.17nb5, Package name: p5-Switch-2.17nb5, Maintainer: pkgsrc-users

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.


Master sites: (Expand)

Filesize: 14.15 KB

Version history: (Expand)