To help you better, please let us know if you have experience programming in C, Pascal, Java, or some other language. That would allow us to use those languages to explain Perl's analogous concepts to you.
I'd suggest iterating over the array, and building a filename with a string plus the current array index. You may then create the file using that filename, and store the current value. Without going into Perl specifics yet, does that make sense in general?
Comment on Re: writing each array element to a unique file
Hi rje,
Thank you for asking. I am just a high school student trying to learn Perl....I see my dad doing a lot of stuff with perl, verilog and some other stuff he does to do chip designs. I just think Perl is cool so I am trying to learn it. unfortunately, this is the first language I ever touched!
Best Regards,
garbage777