X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FGruntmaster%2FApp%2FCommand%2FAdd.pm;fp=lib%2FGruntmaster%2FApp%2FCommand%2FAdd.pm;h=a8306758d514c613fc9dccd5128389b6333e102a;hb=9e2fb09994e2a1e3181b4e613df40cce3c502414;hp=3475238621035fc85900701e1c1857c5a9e4e3e8;hpb=5e77eeae044804d332fbdb330fe5cc086c5472a2;p=gruntmaster-data.git 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/]; }