mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
7 lines
396 B
Plaintext
7 lines
396 B
Plaintext
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.
|