in reply to create a file from an array

To write a file of your elements, first open the file. Then write each element using a print statement. Then close the file. Then use a system statement or a perl module to mail the file. If any of this sounds confusing, lookup the open, print, close, and system functions in your perl documentation.

-Mark