Jeremie Klein > App-CamelPKI-0.04 > App::CamelPKI::Sys

Download:
CamelPKI/App-CamelPKI-0.04.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source   Latest Release: App-CamelPKI-0.07

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.