On Fri, 19 Dec 2008, Mark Hedges wrote: > In order to do this I have to run a Net::OpenID::Server via > an HTTP::Server::Simple which forks the test script and runs > the test OpenID server into the background. > ... > Any idea how I could do this so the forked child of the > openid.t script will always exit cleanly on an error > condition?
Nevermind, I figured this out, instead of sigtrap pragma I have to use fully qualified references to %HTTP::Server::Simple::SIG and exit on INT and I also set an alarm to exit in case something didn't work. Mark