1autodie::exception::sysUtseemr(3C)ontributed Perl Documeanuttaotdiioen::exception::system(3)
2
3
4

NAME

6       autodie::exception::system - Exceptions from autodying system().
7

SYNOPSIS

9           eval {
10               use autodie qw(system);
11
12               system($cmd, @args);
13
14           };
15
16           if (my $E = $@) {
17               say "Ooops!  ",$E->caller," had problems: $@";
18           }
19

DESCRIPTION

21       This is a autodie::exception class for failures from the "system"
22       command.
23
24       Presently there is no way to interrogate an
25       "autodie::exception::system" object for the command, exit status, and
26       other information you'd expect such an object to hold.  The interface
27       will be expanded to accommodate this in the future.
28
29   stringify
30       When stringified, "autodie::exception::system" objects currently use
31       the message generated by IPC::System::Simple.
32

LICENSE

34       Copyright (C)2008 Paul Fenwick
35
36       This is free software.  You may modify and/or redistribute this code
37       under the same terms as Perl 5.10 itself, or, at your option, any later
38       version of Perl 5.
39

AUTHOR

41       Paul Fenwick <pjf@perltraining.com.au>
42
43
44
45perl v5.34.0                      2021-07-27     autodie::exception::system(3)
Impressum