Re: Term::ReadLine

2018-03-09 Thread hw
Jostein Berntsen writes: > On 25.02.18,16:44, hw wrote: >> Hi, >> >> how do I disable the underlining of the prompt when using Term::ReadLine >> with GNU readline? >> > > Check this: > > https://www.nntp.perl.org/group/perl.beginners/2009/05/msg107390.html Thanks, I found I needed $term->ornam

Re: compute depth of word in line

2018-03-09 Thread hw
Jostein Berntsen writes: > On 25.02.18,18:32, hw wrote: >> Hi, >> >> what is the best way to find out the depth of the last word within a >> line? "Depth of a word" means "how many other words occur before the >> last one?". >> >> >> The background is that I want to write a CLI. The CLI shal