Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Perl Term::ReadLine::Gnu Signal Handling Difficulties

by sgt_b2002 (Initiate)
on Nov 13, 2012 at 21:27 UTC ( #1003707=note: print w/ replies, xml ) Need Help??


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 (Abbot) 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;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003707]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (18)
As of 2015-07-30 19:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls