Re: [Boston.pm] Can't alarm() while reading an unbuffered endless line?

2009-10-19 Thread Uri Guttman
> "BT" == Ben Tilly writes: BT> There are a couple of options available. The simplest being to set BT> the PERL_SIGNALS environment variable to "unsafe". However that is BT> unsafe, and you can dump core. I've generally gone with that approach BT> anyways, though, because I've want

Re: [Boston.pm] Can't alarm() while reading an unbuffered endless line?

2009-10-19 Thread Ben Tilly
On Mon, Oct 19, 2009 at 2:17 PM, Bogart Salzberg wrote: > Mongers, > > I recently encountered a puzzling dilemma. You might find it interesting, or > obvious (probably not both) and it leads to a question about how perl > handles signals. [...] perldoc perlipc Search for "Deferred Signals (Safe

[Boston.pm] Can't alarm() while reading an unbuffered endless line?

2009-10-19 Thread Bogart Salzberg
Mongers, I recently encountered a puzzling dilemma. You might find it interesting, or obvious (probably not both) and it leads to a question about how perl handles signals. Here's the situation: I teach a class for Portland's adult education class. It's a PHP class. (boo, hiss). I create