X-Git-Url: http://git.ieval.ro/?p=gruntmaster-daemon.git;a=blobdiff_plain;f=lib%2FGruntmaster%2FDaemon%2FJudge%2FPoints.pm;fp=lib%2FGruntmaster%2FDaemon%2FJudge%2FPoints.pm;h=26c19f9ab42ba2aee551b535f60d8264290285b6;hp=66286b22806d4c3cdb35c3bf161355f79f30848e;hb=7e81b08a1d0e7efe4545a529c0bc031ef84fdf3c;hpb=fb7e1b7cfb2d8fc86c69c83f0ee059f937ca64e0 diff --git a/lib/Gruntmaster/Daemon/Judge/Points.pm b/lib/Gruntmaster/Daemon/Judge/Points.pm index 66286b2..26c19f9 100644 --- a/lib/Gruntmaster/Daemon/Judge/Points.pm +++ b/lib/Gruntmaster/Daemon/Judge/Points.pm @@ -13,7 +13,7 @@ our $VERSION = '5999.000_004'; ################################################## sub judge{ - no warnings qw/numeric/; ## no critic (ProhibitNoWarnings) + no warnings qw/numeric/; get_logger->trace("Judging results: @_"); my $points = sum 0, grep { !ref } @_; $points == 100 ? (result => AC, result_text => 'Accepted') : (result => REJ, result_text => "$points points", points => $points)