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

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


Branch: pkgsrc-2013Q3, Version: 2.20, Package name: p5-autodie-2.20, 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.


Master sites: (Expand)

SHA1: 37b1e3dfe57cf0a5f755b1b7b016191420fa5242
RMD160: e83b68b2097f4121f826842c3fda96d77bf5eb18
Filesize: 80.661 KB

Version history: (Expand)