1arryb has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks,
I have a simple console program that steps through a file of TAB-delimited data. For each line the program presents it and prompts the user to do something. One of the things that you can do is to edit the current line. In this case, I present the old line as PREPUT text in a editable prompt using Term::ReadLine.
My problem is with the TAB field delimiters, TAB is the Term::ReadLine completion character. Can I suppress this behavior? Alternatively, the documentation implies I can escape the TAB, but having tried several variations of CTRL-J and '\t' without success, I'm stumped.
Thanks,
Larry Barnett
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: TAB character as literal in editable prompt
by TJPride (Pilgrim) on Dec 15, 2011 at 19:40 UTC | |
by 1arryb (Acolyte) on Dec 15, 2011 at 21:08 UTC |