aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Syntax-Keyword-Match/pkg-descr
blob: 11cf9d893a658a7621afbf37fea5c7f737962d04 (plain) (blame)
1
2
3
4
5
6
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.