./devel/p5-Syntax-Keyword-Match, Perl5 module to provide a match/case syntax

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.13, Package name: p5-Syntax-Keyword-Match-0.13, Maintainer: pkgsrc-users

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 Switch::Plain.


Master sites: (Expand)

Filesize: 30.586 KB

Version history: (Expand)


CVS history: (Expand)


   2024-01-04 12:14:03 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-Syntax-Keyword-Match: update to 0.13.

0.13    2023-07-20
        [CHANGES]
         * Provide new `case if` syntax (RT148939)
         * Remember to implement `no Syntax::Keyword::Match` to disable the
           syntax

        [BUGFIXES]
         * Ensure that new lexical variables introduced in the expression
           correctly go out of scope at the end of the `match` block

0.12    2023-06-19
        [BUGFIXES]
         * Ensure that the temporary topic variable gets cleared at the end of
           match/case block

0.11    2023-06-12
        [CHANGES]
         * Support `isa` as a comparison operator even on perls before 5.32
         * Swap all of the unit tests from Test::More to Test2::V0
   2023-08-02 18:17:20 by Nia Alarie | Files touched by this commit (41)
Log message:
*: Use FORCE_C_STD=c99 for C packages that use for loop initial
declarations without setting -std=c99.
   2023-07-09 16:38:46 by Nia Alarie | Files touched by this commit (1)
Log message:
p5-Syntax-Keyword-Match: Assumes compiler defaults to c99
   2023-07-06 11:43:03 by Thomas Klausner | Files touched by this commit (2483)
Log message:
*: recursive bump for perl 5.38
   2023-03-30 19:55:59 by Thomas Klausner | Files touched by this commit (3)
Log message:
devel/p5-Syntax-Keyword-Match: import p5-Syntax-Keyword-Match-0.10

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 Switch::Plain.