in reply to printing deletable text to stdout

I've used Term::Clui several times and it makes adding an interactive prompt to your script a trivial matter (ask takes two arguements, the first being the question and the second being the default, which is editable by the user):
use Term::Clui; my $filename = ask("Please enter a filename:","C:\test.txt");
It also provides several other functions like confirm which automatically interprets a y/n response for you as well as a choose($question,@list) chooser.

I'm pretty sure it works on W32 but haven't used it there recently enough to know for sure.

Replies are listed 'Best First'.
Re^2: printing deletable text to stdout
by richz (Beadle) on Oct 06, 2004 at 21:03 UTC
    None of the solutions above that worked were really what I wanted. The problem with putting in those backsapce escape sequences is if the filename is long and scrolls down to the next line it is a pain. Also it doesn't allow me to modify the default.

    I am looking for something exactly like Term::Clui but that works on Win32...it didnt' seem to work for me on win32.

      What problems were you having with it? Could you not get it to even install or was it a problem using the package?