bright true wrote:

Hello ,

sorry i didn't read it carefully .. well , first

try by removing the "exit" at the END

check the Error LOGS to see if there's an Error which make the output doesn't

appear on the screen

bye

What Error LOGS are you referring to. I don't get any errors. I can change my STDOUT to a file and print there, but not to the screen. It's not the environment variables, because pseudo dos prints out dir command to screen. It's just perl and just to the screen that doesn't work. I also opened a new command prompt window and again ran perl script still no output.


The following code works fine.

<code>
#! /usr/bin/perl -w
use strict;

open (FH,">test.txt") or die $!;
print FH 'Everything between the quotes.';
close FH;

</code>



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to