I think a hash is what I need to be doing but I'm not sure how to load the
keys and the values. I'm sure I want the keys to be the files in the .html
directory and the values to be the item numbers in all the .txt files. This
way I can create the hash to function as a table lookup.. Right?
Could someone pls point me in the right direction.... TIA!
Brian Volk
Hello Brian
I see many questions in your problem before even attempting to code.
1. Your names in the text files are duplicated in the sample data you provided. I'm sure you don't want to send the same web page more than once, right?
2. Are all the .html files names, (2000+), included in the text files? In other words, will you be sending
out all the .htm files?
3. Your code shows all the pages going to the same recipient. Is this correct?
In addition, there are many problems with your code - it won't compile as is. So before reviewing the code, it would be helpful to know exactly what you want to accomplish.
Chris
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>