You mean like this?
foreach $file(@files){ open(OUTFILE,">$file"); print OUTFILE $data; } -----Original Message----- From: Helen Dynah [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 12:32 PM To: [EMAIL PROTECTED] Subject: Array of file paths. Hi again, I have an array of file paths. I made this array so that I can open several different files one at a time. I want to iterate through this array by opening each file, writing some data to it and closing it. Does anyone know how I would go about doing this? Thanks in advance. Helen --------------------------------- Music, Movies, Sports, Games! Yahoo! Canada Entertainment -------------------------------------------------------------------------------- This email may contain confidential and privileged material for the sole use of the intended recipient. If you are not the intended recipient, please contact the sender and delete all copies. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]