The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::CamelPKI::Sys - Operating System-oriented bag of tricks.

FUNCTIONS

All functions are exportable, but none are by default.

fork_and_do($sub)

Runs $sub in a forked process, and returns the PID it runs under. The child process calls $sub in void context, and terminates when $sub does so; if $sub terminates normally, the exit code of the child process will be 0, otherwise it will be 1. The child process will not perform global destruction, even if $sub contains an explicit call to "exit" in perlfunc.