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
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:illuusio:perl/perl-autodie && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
autodie-2.37.tar.gz | 0000093757 91.6 KB | |
cpanspec.yml | 0000000547 547 Bytes | |
perl-autodie.changes | 0000014187 13.9 KB | |
perl-autodie.spec | 0000003001 2.93 KB |
Latest Revision
unknown
committed
(revision 3)
project was undeleted
Comments 0