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

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


Branch: pkgsrc-2015Q1, Version: 2.26, Package name: p5-autodie-2.26, 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-IPC-System-Simple]

Master sites: (Expand)

SHA1: 2eb0aee9ffa1ac1255f6de81ea80a2ab5ecf47be
RMD160: f7706f7701bb5669a7fa8b94bebc2826b4860073
Filesize: 88.757 KB

Version history: (Expand)