final_proj.pl working with PROMPT