On 24 Oct 2006 at 12:12, Beginner wrote: Sorry going to top post as I made a mistake. I was doing a straight print and that was why the file was was being displayed. Apologies. Dp.
> Hi All, > > I posted this to this list as it's as much a fork() issue as a CGI > one. Hope I've done the right thing. > > open(OUT, ">$output_file") or die "Can't open $output_file: > $!\n"; > while ( $bytesread = read($filename, $buffer, $numbytes)) { > print OUT $buffer; > print $buffer; -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>