Re: Running a script with cyradm throwing ReadLine errors

2018-12-19 Thread Binarus
Dear ellie, > I did a bit of reading, and apparently Term::ReadLine is a stub module that just loads "an implementation", which in your case wants to be Term::ReadLine::Gnu. My guess is that, when you uninstall Term::ReadLine::Gnu, Term::ReadLine no longer successfully compiles because it's missin

Re: Running a script with cyradm throwing ReadLine errors

2018-12-19 Thread Binarus
Dear ellie, On 19.12.2018 01:38, ellie timoney wrote: > I did a bit of reading, and apparently Term::ReadLine is a stub module that > just loads "an implementation", which in your case wants to be > Term::ReadLine::Gnu. My guess is that, when you uninstall > Term::ReadLine::Gnu, Term::ReadLin

Re: Running a script with cyradm throwing ReadLine errors

2018-12-19 Thread Binarus
Dear ellie, On 19.12.2018 01:38, ellie timoney wrote: >> Then I have replaced the following code in Cyrus::IMAP::Shell > > That's very interesting. Does the same modified code continue to work if you > uninstall Term::Readline::Gnu again? That is to say, does the non-gnu > version break with

Re: Running a script with cyradm throwing ReadLine errors

2018-12-18 Thread ellie timoney
Hi Binarus, > Then I have replaced the following code in Cyrus::IMAP::Shell That's very interesting. Does the same modified code continue to work if you uninstall Term::Readline::Gnu again? That is to say, does the non-gnu version break with that addition, or continue to work? > In other wor

Re: Running a script with cyradm throwing ReadLine errors

2018-12-18 Thread Binarus
Dear ellie, On 17.12.2018 23:57, ellie timoney wrote: > Hi Binarus, > >> Could anybody please tell me what I might do wrong here? > > This kind of smells like maybe your system has two versions of perl installed > (or two versions of Term::ReadLine, or maybe even two versions of > Cyrus::IMAP:

Re: Running a script with cyradm throwing ReadLine errors

2018-12-18 Thread Binarus
Dear ellie, thank you very much for your help! On 17.12.2018 23:57, ellie timoney wrote: > Hi Binarus, > >> Could anybody please tell me what I might do wrong here? > > This kind of smells like maybe your system has two versions of perl installed > (or two versions of Term::ReadLine, or maybe

Re: Running a script with cyradm throwing ReadLine errors

2018-12-17 Thread ellie timoney
Hi Binarus, > Could anybody please tell me what I might do wrong here? This kind of smells like maybe your system has two versions of perl installed (or two versions of Term::ReadLine, or maybe even two versions of Cyrus::IMAP::Shell), and they're getting in each other's way? I'm having a quic

Running a script with cyradm throwing ReadLine errors

2018-12-16 Thread Binarus
Dear all, I was just trying to explore cyradm a little bit further and hence was experimenting with its scripting capabilities. Having cyradm run a script should be pretty easy. man cyradm tells us: perl -MCyrus::IMAP::Shell -e 'run("myscript")' So I created the simplest possible script (tha