Replace functions with ones that succeed or die with lexical scope
http://search.cpan.org/perldoc?autodie
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
-
1
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:perl/perl-autodie && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
autodie-2.26.tar.gz | 0000090887 88.8 KB | |
perl-autodie.changes | 0000008264 8.07 KB | |
perl-autodie.spec | 0000002522 2.46 KB |
Revision 15 (latest revision is 22)
Stephan Kulow (coolo)
accepted
request 296251
from
Stephan Kulow (coolo)
(revision 15)
automatic update
Comments 0