From 9e2fb09994e2a1e3181b4e613df40cce3c502414 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sun, 12 Apr 2015 17:49:37 +0300 Subject: [PATCH] Add missing read_file --- lib/Gruntmaster/App/Command/Add.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/]; } -- 2.39.2