This module provides a syntax plugin that implements exception-handling semantics in a form familiar to users of other languages, being built on a block labeled with the 'try' keyword, followed by at least one of a 'catch' or 'finally' block.
As well as providing a handy syntax for this useful behaviour, this module also serves to contain a number of code examples for how to implement parser plugins and manipulate optrees to provide new syntax and behaviours for perl code.
Syntax similar to this module has now been added to core perl, starting at version 5.34.0. If you are writing new code, it is suggested that you instead use the Feature::Compat::Try module instead, as that will enable the core feature on those supported perl versions, falling back to 'Syntax::Keyword::Try' on older perls.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.28-bp156.2.4 info | GA Release | 2023-12-07 | 15 SP6 |
|
|
0.28-bp155.1.4 info | GA Release | 2023-05-17 | 15 SP5 |
|
|
0.11-bp154.1.24 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
0.11-bp153.1.16 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
0.11-bp152.1.9 info | GA Release | 2020-04-16 | 15 SP2 |
|
|