The stupid question is the question not asked | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
hello ShainEdge and welcome to the monastery and to the wonderful world of Perl!
you can play with Term::ReadLine to accomplish your task. The following oneliner is a windows version and you have to force the underlaying readline module setting PERL_RL ENV var and also TERM one to be empty (not DUMB as cmd.exe IS DUMB ;)
To adapt to Linux use single quotes around the oneliiner and double quotes inside it; you can probably remove the BEGIN block too. L*
There are no rules, there are no thumbs.. Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS. In reply to Re: pre-texted <STDIN> with Term::ReadLine -- oneliner
by Discipulus
|
|