Skip Menu |

This queue is for tickets about the Net-SCP-Expect CPAN distribution.

Report information
The Basics
Id: 36282
Status: resolved
Priority: 0/
Queue: Net-SCP-Expect

People
Owner: RYBSKEJ [...] cpan.org
Requestors: jose.quijada [...] vonage.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.13



Subject: Suggestion to add to RT #34001
Date: Thu, 29 May 2008 14:33:42 -0400
To: bug-Net-SCP-Expect [...] rt.cpan.org
From: "Jose M. Quijada" <jose.quijada [...] vonage.com>
Hello, Thanks for writing such a great module. I came across bu in RT #34001. One suggestion is simply to put 'local' in front of '$SIG{CHLD}...'. This will localize the signal handler assignment to your package only (Net::SCP::Expect). Thanks -- Jose M. Quijada Software Engineer II Business Intelligence Vonage| 23 Main Street | Holmdel, NJ 07733 t: 732.444.2646 e: jquijada@vonage.com w: www.vonage.com
CHLD handler has been removed, as Expect is expected to reap it's own child processes correctly. Change also allows for better exception handling with Expect. Change applied to 0.13 release.