Package : perl-Syntax-Keyword-Match

Package details

Summary: A C<match/case> syntax for perl

Description:
This module 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 the Switch::Plain manpage.

This is an initial, experimental implementation. Furthermore, it is built
as a non-trivial example use-case on top of the XS::Parse::Keyword manpage,
which is also experimental. No API or compatibility guarantees are made at
this time.


URL: https://metacpan.org/release/Syntax-Keyword-Match
License: GPLv1+ or Artistic

Maintainer: nobody

List of RPMs