>>>>> 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'm a little hesitant to rely so strongly on /dev stuff, for > cross-platform reasons. For instance, I think it's only recent > versions of OS X that had a /dev filesystem at all, though I can't > seem to find a reference saying so. Fair enough. > I looked at EU::MM and noticed that it too calls eof(STDIN), so does > it have a similar problem? I've reviewed MakeMaker and found this spot: local $|=1; local $\; print "$mess $dispdef"; my $ans; if ($ENV{PERL_MM_USE_DEFAULT} || (!$isa_tty && eof STDIN)) { This means that MakeMaker does that after it has printed the prompt. I think this is always OK. -- andreas