15 сентября 2011, 04:39 от Rajeev Prasad <rp.ne...@yahoo.com>:
> plz. advice why am i getting this error?
>  
>  
> I have checked:
> varilable outfile has proper path/filename
> array allrecords has data
>  
>  
> open(OUT_FH,">","$outfile");
> print OUT_FH "@allrecords";
> close OUT_FH;
>  

You should always be able to add a "or die" for capturing exceptions.

open FH,">",$outfile or die $!;
print FH @sth;
close FH or die $!;


--
  Jeff Pang
  jeffp...@mail.ru

Reply via email to