Welcome to the Monastery | |
PerlMonks |
about Term::ReadLine and it's imported functionby Discipulus (Canon) |
on Nov 24, 2014 at 13:10 UTC ( [id://1108255]=perlquestion: print w/replies, xml ) | Need Help?? |
Discipulus has asked for the wisdom of the Perl Monks concerning the following question:
Hello monks, i used readline::rl_basic_commands as only way to have autocompletion working in win32. if i remember correctly i found the mention here. I had used this sub in some programs based on various Strawberry distros without any problem. Now i have a new program i would like to run on Win32 as in Linux and it uses only core modules. I developped on my strawberry Perl but when tried on the Linux box it complains about that missing sub: So i changed the call in something like:
Now on Linux works (without autocompletion), but using that syntax on win32 made the first time intialization of available commands not working. The following working example shows my problem:
Where and when the sub is defined? There is safe way to deal with it? There is a way have it working on both Linux and Win32, even in the sad case without autocompletion? Thanks for the attention. 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.
Back to
Seekers of Perl Wisdom
|
|