- perl (>= 5.40.0-6)
- perlapi-5.40.0
- libxs-parse-keyword-perl (>= 0.36)
Syntax::Keyword::Match provides a syntax plugin that implements a
control-flow block called match/case, which executes at most one of a choice
of different blocks depending on the value of its controlling expression.
.
This is similar to C's switch/case syntax (copied into many other languages),
or syntax provided by Switch::Plain.
.
This is an initial, experimental implementation. Furthermore, it is built as
a non-trivial example use-case on top of XS::Parse::Keyword, which is also
experimental. No API or compatibility guarantees are made at this time.
Installed Size: 119.8 kB
Architectures: arm64 amd64