redirecting array to file

2006-04-17 Thread Irfan J Sayed
Hi, Can anybody please tell me how to redirect / write the contents of array to the file Regards Irfan Sayed

Fw: redirecting array to file

2006-04-17 Thread swayam panda
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

Re: redirecting array to file

2006-04-17 Thread Dr.Ruud
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

Re: redirecting array to file

2006-04-17 Thread Dr.Ruud
"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