./devel/p5-autodie, Replace functions with ones that succeed or die with lexical scope

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


Branch: pkgsrc-2020Q1, Version: 2.29nb4, Package name: p5-autodie-2.29nb4, Maintainer: pkgsrc-users

The autodie pragma provides a convenient way to replace functions that normally
return false on failure with equivalents that throw an exception on failure.

The autodie pragma has lexical scope, meaning that functions and subroutines
altered with autodie will only change their behaviour until the end of the
enclosing block, file, or eval.

If system is specified as an argument to autodie, then it uses
IPC::System::Simple to do the heavy lifting. See the description of that
module for more information.


Required to run:
[devel/p5-Sub-Identify]

Master sites: (Expand)

SHA1: 64fb0ac063a3d2716beffa273b15d541ed5a58fd
RMD160: b9abfa1a0c4d78265f28b7b19b17bf8645246977
Filesize: 91.207 KB

Version history: (Expand)