http://www.perlmonks.org?node_id=1003707


in reply to Re: Perl Term::ReadLine::Gnu Signal Handling Difficulties
in thread Perl Term::ReadLine::Gnu Signal Handling Difficulties

Thanks a ton for helping me out with this. I see what you mean about unsafe signals, so I'll probably just use Term::ReadLine::Perl instead. I suppose that solves my issues.

It is somewhat comforting to know that this is just how T:R:Gnu works instead of me doing horribly wrong. ;)

Since I'm sure I can get things moving along with T:R:Perl, what would be the best way to make sure users are using the T:R:Perl package instead of Gnu? Would it be considered good form to just set the environment variable along with a "use Term::ReadLine::Perl"?

Thanks again for taking the time to look into this. It was really a stumbling block for me so I appreciate the help. In hindsight I probably should have just moved to T:R:Perl and called it a day, but I got obsessed a bit. ;)

  • Comment on Re^2: Perl Term::ReadLine::Gnu Signal Handling Difficulties

Replies are listed 'Best First'.
Re^3: Perl Term::ReadLine::Gnu Signal Handling Difficulties
by Mr. Muskrat (Canon) on Nov 14, 2012 at 01:01 UTC

    You're welcome!

    Install Term::ReadLine::Perl and do what the module authors do when they test it.

    BEGIN{ $ENV{PERL_RL} = 'Perl' }; use Term::ReadLine;