From: Marius Gavrilescu Date: Sun, 12 Apr 2015 14:49:37 +0000 (+0300) Subject: Add missing read_file X-Git-Tag: 5999.000_014~26 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=9e2fb09994e2a1e3181b4e613df40cce3c502414;p=gruntmaster-data.git Add missing read_file --- diff --git a/lib/Gruntmaster/App/Command/Add.pm b/lib/Gruntmaster/App/Command/Add.pm index 3475238..a830675 100644 --- a/lib/Gruntmaster/App/Command/Add.pm +++ b/lib/Gruntmaster/App/Command/Add.pm @@ -89,7 +89,7 @@ sub add_problem { if ($runner eq 'Verifier' || $runner eq 'Interactive') { say RED, 'WARNING: Runner::Interactive is experimental', RESET if $runner eq 'Interactive'; - $versource = prompt "[Runner::$runner] Verifier file name", -complete => 'filenames'; + $versource = read_file prompt "[Runner::$runner] Verifier file name", -complete => 'filenames'; $verformat = prompt "[Runner::$runner] Verifier format", -menu => [qw/C CPP MONO JAVA PASCAL PERL PYTHON/]; }