Rajeev Prasad wrote:
plz. advice why am i getting this error?
Because the filehandle OUT_FH has NOT been opened correctly!
I have checked:
varilable outfile has proper path/filename
How have you checked that?
array allrecords has data
How have you checked that?
open(OUT_FH,">","$ou
thx. Shawn that fixed the issue.
From: Shawn H Corey
To: beginners@perl.org
Sent: Wednesday, September 14, 2011 8:40 PM
Subject: Re: error print on closed file handle
On 11-09-14 08:38 PM, Rajeev Prasad wrote:
> plz. advice why am i getting this er
On 11-09-14 08:38 PM, Rajeev Prasad wrote:
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 test all your opens; your problem prob
15 сентября 2011, 04:39 от Rajeev Prasad :
> 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
On Sep 15, 8:38 am, rp.ne...@yahoo.com (Rajeev Prasad) wrote:
> 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;
>
>
>