1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/devel/p5-autodie/pkg-descr
Wen Heping 7b7e31a76b 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.

WWW:    http://search.cpan.org/dist/autodie/

Approved by:	miwi(mentor)
Feature safe:	yes
2009-09-23 11:57:02 +00:00

14 lines
551 B
Plaintext

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.
WWW: http://search.cpan.org/dist/autodie/