in reply to emulate the Term::ReadLine's two arguments form
If you don't wanna install an XS module, I'd recommend to take one of the pure Perl implemantations, which have practically no dependencies, i.e. you could simply copy them into your distribution and modify them as you wish (but check licence before!)
see %Features of T::RL to know which functionality is supported by underlying module.
DB<105> $term->Features => { addHistory => 1, appname => 1, attribs => 1, autohistory => 1, getHistory => 1, minline => 1, newTTY => 1, ornaments => 1, preput => 1, readHistory => 1, setHistory => 1, stiflehistory => 1, tkRunning => 1, writeHistory => 1, }
I suppose preput means what your looking for.
HTH
Cheers Rolf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: emulate the Term::ReadLine's two arguments form
by Khen1950fx (Canon) on Feb 17, 2012 at 16:13 UTC | |
by Discipulus (Canon) on Feb 17, 2012 at 18:20 UTC | |
by Khen1950fx (Canon) on Feb 17, 2012 at 18:57 UTC | |
by Discipulus (Canon) on Feb 17, 2012 at 19:20 UTC | |
by LanX (Saint) on Feb 17, 2012 at 18:23 UTC |