App::EvalServer::Child - Evaluate code in a safe child process
# fork, etc use App::EvalServer::Child; App::EvalServer::Child::run( $tempdir, $pipe_name, $jail, $user, $limit, $lang, $code, $unsafe, );
This module takes various safety precautions, then executes the code you provided.
run
Runs the code. Takes the following arguments: a temporary directory, a pipe name, a jail path, a username, a process limit (in megabytes), a language suffix (e.g. 'Perl' for App::EvalServer::Language::Perl), the code, and an unsafe flag. If the unsafe flag is on, run will not take safety precautions (change user, chroot, set resource limits) which require root access.
App::EvalServer::Language::Perl
Hinrik Örn Sigurðsson, hinrik.sig@gmail.com
Copyright 2010 Hinrik Örn Sigurðsson
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
To install App::EvalServer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::EvalServer
CPAN shell
perl -MCPAN -e shell install App::EvalServer
For more information on module installation, please visit the detailed CPAN module installation guide.