LanX has asked for the wisdom of the Perl Monks concerning the following question:

Honorable Monks

In order to patch some new functionalities into the perldebugger I would like to know if Win and Mac users can use a modules like Term::Realine::Gnu or if I should restrict to Term::Readline::Perl.

While I'm quite optimistic that it's no problem on OS X, but I'm not sure if the XS-interface can possibly connect to ports like gnuwin readline.

Cheers Rolf

Replies are listed 'Best First'.
Re: Term::Realine::Gnu on Windows?
by kcott (Archbishop) on Feb 18, 2012 at 18:55 UTC

    Take a look at the CPAN Testers Matrix for this module.

    You can get additional information from Term-ReadLine-Gnu-1.20 (which includes the link given above).

    Out of interest, I just tried installing it myself (Mac OSX 10.7.3 & Perl 5.14.2). Everything worked fine: no errors or warnings; all tests successful.

    -- Ken

Re: Term::Realine::Gnu on Windows?
by roboticus (Chancellor) on Feb 20, 2012 at 01:09 UTC

    LanX:

    I've been using it under Windows using the Cygwin perl distro.

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.

      Hi

      So is it a general rule that XS modules using *nix distros only work with Cygwin?

      Or are there exceptions?

      Sorry I'm pretty ignorant about XS interfaces of packages ported to win.exes.

      Cheers Rolf

        LanX:

        Not always, but I have pretty good luck. I can't think of any counterexamples right now, though I've run into them. But most of my perl work is bog-simple stuff, so I'm not stretching the envelope, either.

        ...roboticus

        When your only tool is a hammer, all problems look like your thumb.