On Fri, Mar 02, 2007 at 12:10:15PM +0100, Andreas J. Koenig wrote: > I hope somebody else can explain the full story. My complaint was only > that eof(STDIN) never returns on an open terminal STDIN filehandle. > Just try: > > perl -e 'print eof(STDIN)' > > and wait.
Which perl version? It does return for me on 5.8.8 on FreeBSD after I type control-D. I believe that there was a bug related to this that was fix. Nicholas Clark