maybe you need to flush your output? if I am correct nothing is printing
because it is not flushing

add this to the top of the script

$|=1;


again, not sure if this is the right solution etc..

> -----Original Message-----
> From: Bruce Ambraal [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 18, 2002 09:18
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Printing data into a file every time some presses <ENTER>
> HELP!!
> 
> 
> Hi 
> 
> Could someone help?
> 
> the following code is not working.
> 
> open(INPUT_FILE,"+>fixed.dat") || die "Could not open filename";
> while (<STDIN>) {
> print INPUT_FILE "bruce\n";
> }
> close(INPUT_FILE);
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to