X-Git-Url: http://git.ieval.ro/?p=gruntmaster-daemon.git;a=blobdiff_plain;f=lib%2FGruntmaster%2FDaemon%2FRunner%2FInteractive.pm;h=aaaadd71de3e70c0c4558a0dab4989803efbcdd4;hp=5a986754c8b6451471c91d0957f4bb1a6a787114;hb=69ea9358b59a6d8bd566c3af22247e8c2e35320f;hpb=c020b922b2b04878b04b8d7e84079087f1dc2abc diff --git a/lib/Gruntmaster/Daemon/Runner/Interactive.pm b/lib/Gruntmaster/Daemon/Runner/Interactive.pm index 5a98675..aaaadd7 100644 --- a/lib/Gruntmaster/Daemon/Runner/Interactive.pm +++ b/lib/Gruntmaster/Daemon/Runner/Interactive.pm @@ -10,7 +10,7 @@ use Log::Log4perl qw/get_logger/; use POSIX qw/mkfifo/; use Try::Tiny; -our $VERSION = '5999.000_002'; +our $VERSION = '5999.000_003'; ################################################## @@ -58,13 +58,13 @@ Gruntmaster::Daemon::Runner::Interactive - Make an interactive verifier talk to =head1 SYNOPSIS use Gruntmaster::Daemon::Runner::Interactive; - Gruntmaster::Daemon::Runner::Interactive->run(5, $meta); + Gruntmaster::Daemon::Runner::Interactive::run(5, $meta); =head1 DESCRIPTION B -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, C<< $meta->{files}{int} >>, should return nonzero if the program gives an incorrect answer, and print the test score to fd 4 then return 0 if the answer is correct. +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, C<< $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. =head1 AUTHOR