Replace functions with ones that succeed or die with lexical scope
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. Author: ------- Paul Fenwick <pjf@perltraining.com.au>
- Links to server:monitoring / perl-autodie
- Has a link diff
Source Files
Filename | Size | Changed | Actions |
---|---|---|---|
_aggregate | 0000000119119 Bytes | 1310920176over 13 years ago | |
autodie-2.10.tar.bz2 | 000006292361.4 KB | 1290359135about 14 years ago | |
autodie-2.26.tar.bz2 | 000007178370.1 KB | 1419879006almost 10 years ago | |
perl-autodie.changes | 0000000454454 Bytes | 1419879006almost 10 years ago | |
perl-autodie.spec | 00000024602.4 KB | 1419879907almost 10 years ago |
Latest Revision
hostmaster
committed
over 13 years ago (revision 2)