Look at something like Term::ReadLine. Or just print the current value in the prompt (print "$property [$record->{$property}]: ") and if $response eq '' ignore it (of course this prevents the user from actually providing a value of "nothing", but for most applications it's probably fine).
In reply to Re: adding default text to STDIN
by Fletch
in thread adding default text to STDIN
by bangers
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |