]>
iEval git - gruntmaster-daemon.git/blob - lib/Gruntmaster/Daemon/Constants.pm
1 package Gruntmaster
::Daemon
::Constants
;
6 use parent qw
/Exporter/;
8 our $VERSION = "5999.000_002";
14 # Internal server error
26 our @EXPORT_OK = qw
/AC ERR WA NZX TLE OLE DIED REJ/;
35 Gruntmaster::Daemon::Constants - Constants for the Gruntmaster daemon
39 use Gruntmaster::Daemon::Constants qw/WA NZX/;
41 return [NZX, 'Non-zero exit status'] if $status;
42 return [WA, 'Wrong answer'] unless is_correct($answer);
46 Gruntmaster::Daemon::Constants provides constants which are used in more than one module.
52 =item B<AC> The 'Accepted' job result.
54 =item B<ERR> The 'Internal server error' job result.
56 =item B<WA> The 'Wrong answer' job result.
58 =item B<NZX> The 'Non-zero exit status' job result.
60 =item B<TLE> The 'Time limit exceeded' job result.
62 =item B<OLE> The 'Output limit exceeded' job result.
64 =item B<DIED> The 'Crash' job result. Used when a program is killed by a signal.
66 =item B<REJ> The 'Rejected' job result. Used when none of the above is appropriate.
72 Marius Gavrilescu E<lt>marius@ieval.roE<gt>
74 =head1 COPYRIGHT AND LICENSE
76 Copyright (C) 2014 by Marius Gavrilescu
78 This library is free software: you can redistribute it and/or modify
79 it under the terms of the GNU Affero General Public License as published by
80 the Free Software Foundation, either version 3 of the License, or
81 (at your option) any later version.
This page took 0.049477 seconds and 4 git commands to generate.