Re: Module::Build->y_n does not seem to set $|

2007-01-31 Thread Ken Williams
On Jan 30, 2007, at 12:01 AM, Andreas J. Koenig wrote: This morning I found one of my batch jobs hanging and the logfile only revealed that it was during installation of DMAKI/DateTime-Util-Calc-0.11.tar.gz but there was no apparent sign for a reason. I found the following in the Build.PL:

Re: Module::Build->y_n does not seem to set $|

2007-02-01 Thread Andreas J. Koenig
> On Wed, 31 Jan 2007 21:46:09 -0600, Ken Williams <[EMAIL PROTECTED]> said: > On Jan 30, 2007, at 12:01 AM, Andreas J. Koenig wrote: >> This morning I found one of my batch jobs hanging and the logfile only >> revealed that it was during installation of >> DMAKI/DateTime-Util-Calc-0.11.

Re: Module::Build->y_n does not seem to set $|

2007-02-01 Thread Andreas J. Koenig
> On Thu, 01 Feb 2007 08:53:56 +0100, [EMAIL PROTECTED] (Andreas J. Koenig) > said: > On Wed, 31 Jan 2007 21:46:09 -0600, Ken Williams <[EMAIL PROTECTED]> said: >> On Jan 30, 2007, at 12:01 AM, Andreas J. Koenig wrote: > So there's definitely something broken, I don't know what. I

Re: Module::Build->y_n does not seem to set $|

2007-02-04 Thread Ken Williams
On Feb 1, 2007, at 5:42 PM, Andreas J. Koenig wrote: The offending line: + return $ENV{PERL_MM_USE_DEFAULT} || ( !$self->_is_interactive && eof STDIN ); This hangs forever when the STDOUT is redirected and STDIN is not redirected. Indeed. I think I've got a reasonable fix, does it loo

Re: Module::Build->y_n does not seem to set $|

2007-02-04 Thread Eric Wilhelm
# from Ken Williams # on Sunday 04 February 2007 07:13 pm: >On Feb 1, 2007, at 5:42 PM, Andreas J. Koenig wrote: >> The offending line: >> >> + return $ENV{PERL_MM_USE_DEFAULT} || ( !$self->_is_interactive && >> eof STDIN ); >> >> This hangs forever when the STDOUT is redirected and STDIN is not

Re: Module::Build->y_n does not seem to set $|

2007-02-05 Thread Ken Williams
On Feb 5, 2007, at 12:53 AM, Eric Wilhelm wrote: From my experiment, this doesn't change the behavior. It just causes it to hang later in _readline() instead. In my experiment it seems to work. I set things up with the scenario Andreas described (STDOUT is redirected to a file, STDIN is

Re: Module::Build->y_n does not seem to set $|

2007-02-06 Thread Andreas J. Koenig
> On Sun, 4 Feb 2007 21:13:04 -0600, Ken Williams <[EMAIL PROTECTED]> said: > I think I've got a reasonable fix, does it look reasonable to you? While it seems to solve my problem, I got a recommendation from Slaven Rezic to look at perlfaq8 "How do I find out if I'm running interactively o

Re: Module::Build->y_n does not seem to set $|

2007-02-07 Thread Ken Williams
On Feb 5, 2007, at 10:32 PM, Andreas J. Koenig wrote: Of course, this has a different focus on an X11 application, but when Module::Build is run from an X11 app, it might be relevant. Yeah, but I'm a little hesitant to rely so strongly on /dev stuff, for cross-platform reasons. For instan

Re: Module::Build->y_n does not seem to set $|

2007-02-10 Thread Andreas J. Koenig
> On Wed, 7 Feb 2007 18:38:00 -0600, Ken Williams <[EMAIL PROTECTED]> said: > On Feb 5, 2007, at 10:32 PM, Andreas J. Koenig wrote: >> >> Of course, this has a different focus on an X11 application, but when >> Module::Build is run from an X11 app, it might be relevant. > Yeah, but I