Gruntmaster::Daemon::Runner::Interactive - Make an interactive verifier talk to the program
use Gruntmaster::Daemon::Runner::Interactive; Gruntmaster::Daemon::Runner::Interactive::run(5, $meta);
WARNING: This runner is experimental!
Gruntmaster::Daemon::Runner::Interactive is a runner which runs the program and an interactive verifier in parallel, connecting each program's STDIN to the other's STDOUT. The verifier, $meta->{files}{ver}, should return nonzero if the program gives an incorrect answer, or print the test score to fd 4 then return 0 if the answer is correct.
$meta->{files}{ver}
Marius Gavrilescu <marius@ieval.ro>
Copyright (C) 2014 by Marius Gavrilescu
This library is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
To install Gruntmaster::Daemon, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gruntmaster::Daemon
CPAN shell
perl -MCPAN -e shell install Gruntmaster::Daemon
For more information on module installation, please visit the detailed CPAN module installation guide.