Sumit Shah wrote:

>        #Open a file for writing
>        open(FH, "> test.txt")  or die $!;
>        print FH "Hello World !!!\n";

print can fail. You should check that it's succeeding:

  print FH "Hello World !!!\n" or die $!;

-- 
Michael Peters
Developer
Plus Three, LP

Reply via email to