Path to this page:
./
devel/p5-autodie,
Replace functions with ones that succeed or die with lexical scope
Branch: pkgsrc-2013Q2,
Version: 2.19nb1,
Package name: p5-autodie-2.19nb1,
Maintainer: pkgsrc-usersThe 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: 8b250fb945a1eb98ea15c8d557c2aa5329f4f26f
RMD160: 57c256f67b865669355723b7d99395fd3f17e140
Filesize: 79.399 KB
Version history: (Expand)
- (2013-07-08) Package added to pkgsrc.se, version p5-autodie-2.19nb1 (created)