Well, if you have Term::Readline, you can
use Term::ReadLine; $term = new Term::ReadLine 'ProgramName'; $_ = $term->readline('prompt>','<please enter your name here>');
I recommend Term::Readline::Zoid or Term::Readline::Gnu as good back-end implementations. As for the bold-facing, well, choose your preput string very carefully ... and be certain your terminal can display bold text.
In reply to Re: PROMPT wih default
by idsfa
in thread PROMPT wih default
by Doraemon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |