autodie...:system(3pm)
π NAME π
okay so this is the glow-up manual page for autodie...:system(3pm), and the actual star of the show is autodie::exception::system β Exceptions from autodying system(). no cap, that's the whole name vibe π
π SYNOPSIS π
bestie, here's the code moment:
eval {
use autodie qw(system);
system($cmd, @args);
};
if (my $E = $@) {
say "Ooops! ",$E->caller," had problems: $@";
}
π¦ DESCRIPTION π¦
This is an autodie::exception class for failures from the "system" command. lowkey its whole personality is catching those system fails π«Ά
Right now there is no way to interrogate an autodie::exception::system object for the command, exit status, and other information you'd expect such an object to hold. The interface will be expanded to accommodate this in the future. so yes, bestie, the future is coming πΈ
π stringify π
When stringified, autodie::exception::system objects currently use the message generated by IPC::System::Simple. that's the whole stringify tea ββ¨
π LICENSE π
Copyright (C)2008 Paul Fenwick
This is free software. You may modify and/or redistribute this code under the same terms as Perl 5.10 itself, or, at your option, any later version of Perl 5. iconic legal slay π
π AUTHOR π
Paul Fenwick <pjf@perltraining.com.au> β literally the author, bestie π«Ά
that's the page, bestie π it's autodie...:system(3pm) from perl v5.42.3, dated 2026-11-03 β stay slay and stay safe π
β¨
π¦ where this page comes from
- alpine 3.24: perl-doc 5.42.3-r0 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms