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

Hi monks, I have written a script using a perl module Term::ReadLine::Gnu.Now the problem is that I have to port my script to windows but this module cannot be installed on windows.Is there some other alternative for this module or some other option.Please help!!!!

Replies are listed 'Best First'.
Re: perlmodule Term::Readline::Gnu
by rinceWind (Monsignor) on Dec 29, 2005 at 12:17 UTC

    If you are aiming to be portable, you should use the common interface Term::ReadLine, which is part of the perl core. Term::ReadLine contains a stub (which itself doesn't implement command line history), and a wrapper for whichever of Term::ReadLine::Perl or Term::ReadLine::Gnu is installed.

    --

    Oh Lord, won’t you burn me a Knoppix CD ?
    My friends all rate Windows, I must disagree.
    Your powers of persuasion will set them all free,
    So oh Lord, won’t you burn me a Knoppix CD ?
    (Missquoting Janis Joplin)

Re: perlmodule Term::Readline::Gnu
by RicardoPortilho (Novice) on Dec 29, 2005 at 13:33 UTC
    If you use ActiveState on the Windows box, use ppm, and type "search term", there should be tens f modules, pick one and use it in both the SOs.