Logoj0ke.net Open Build Service > Projects > devel:perl > perl-autodie
Sign Up | Log In

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>


Source Files

Filename Size Changed Actions
autodie-2.10.tar.bz2 61.4 KB about 14 years ago Download File
autodie-2.26.tar.bz2 70.1 KB almost 10 years ago Download File
perl-autodie.changes 454 Bytes almost 10 years ago Download File
perl-autodie.spec 2.4 KB almost 10 years ago Download File

Latest Revision

hostmaster hostmaster committed almost 10 years ago (revision 6)
require perl-parent

Comments for devel:perl (0)