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

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


Branch: pkgsrc-2009Q4, Version: 2.06, Package name: p5-autodie-2.06, 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]

Required to build:
[devel/p5-Module-Install]

Master sites: (Expand)

SHA1: 4865c824c275dacb53a38f797bc3add9c7ac1daf
RMD160: 367c63d0917b41a40f69be7fcbec56331d68d19e
Filesize: 71.904 KB

Version history: (Expand)