Path to this page:
./
devel/p5-autodie,
Replace functions with ones that succeed or die with lexical scope
Branch: pkgsrc-2012Q3,
Version: 2.12,
Package name: p5-autodie-2.12,
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.
Required to run:[
devel/p5-IPC-System-Simple]
Master sites: (Expand)
SHA1: 37b0709488329df19fbea58c73a688f041dfcdb7
RMD160: 09538ea0f69c0764c727a76211343b43ff237e26
Filesize: 79.317 KB
Version history: (Expand)
- (2012-10-02) Package added to pkgsrc.se, version p5-autodie-2.12 (created)