Hi,
Can anybody please tell me how to redirect / write the contents of array
to the file
Regards
Irfan Sayed
Hi,
@array=(1,2,3,4,5);
open(FH,"> path to yourfile") or die can't open the file $!";
print FH @array;
close FH;
- Original Message -
From: "Irfan J Sayed" <[EMAIL PROTECTED]>
To:
Sent: Monday, April 17, 2006 4:37 PM
Subject: redirecting array
Irfan J Sayed schreef:
> Can anybody please tell me how to redirect / write the contents of
> array to the file
print $fh, "@ary";
You need to tell more,
like what the file is for.
--
Affijn, Ruud
"Gewoon is een tijger."
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
"Dr.Ruud" schreef:
> Irfan J Sayed:
>> Can anybody please tell me how to redirect / write the contents of
>> array to the file
>
> print $fh, "@ary";
Oops, I didn't mean that comma to be there:
print $fh "@ary";
--
Affijn, Ruud
"Gewoon is een tijger."
--
To unsubscribe, e-mail: [EMA