in reply to Automatic generation of textfiles

tirwhan is right, but his link is taking forever to load, at least for me, so I'll add a little more information. Basically, you're looking for information on filehandles. You can open a file in output mode by doing something like open MYHANDLE, '>', $filename or die $!; and then you can write stuff to that open file with something like print MYHANDLE $stuff;

To create multiple files, just do that repeatedly. Some wording in your question leads me to believe you already know a way to do something repeatedly.


Sanity? Oh, yeah, I've got all kinds of sanity. Why, I've got so much sanity it's driving me crazy. In fact, I've developed whole new kinds of sanity.