in reply to Re^2: writing each array element to a unique file
in thread writing each array element to a unique file

<nit>

When you explained the for loop you omitted to mention that $i is incremented at the end of the code section before the completion test is done and the section is repeated.

</nit>

If tutorials are intended for complete beginners, it probably pays to explain every last detail.

Cheers,

JohnGG