libsyntax-keyword-match-perl

match/case syntax plugin for perl

Description

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.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/Syntax-Keyword-Match


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libsyntax-keyword-match-perl