Joop,
if I use open... or die "$!" i see that the file is opened correctly but nothing is in
$_.
-UrsprÃngliche Nachricht-
Von: Flemming Greve Skovengaard [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 26. Oktober 2004 11:45
An: [EMAIL PROTECTED]
Cc: Bastian Angerstein
Betreff: Re: Read
Yes it should, but not on my system.
Thanks for your comments.
-Ursprüngliche Nachricht-
Von: Bob Showalter [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 26. Oktober 2004 16:00
An: 'David le Blanc'
Cc: [EMAIL PROTECTED]
Betreff: RE: Reading from a filehandle in while-loop
David le Blanc
On Wed, 27 Oct 2004 10:43:46 +0200, Bastian Angerstein
<[EMAIL PROTECTED]> wrote:
> Yes it should, but not on my system.
>
> Thanks for your comments.
>
So, you are saying this doesnt work?
#!/usr/bin/perl -w
use strict;
use warnings;
use diagnostics;
open (TEST,"STDIN") or die "cannot read i