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