I have a program that reads in from a file and ftp's each line. This is a huge file and sometimes the ftp connection is lost and the program restarts and starts at the first line. I was going to read this file into an array and when the connection is lost go to that place in the array and start from there. Is there a better way to do this? I am new to perl and I know C++ allows you to place a pointer in the file and next time you open the file go straight to that pointer, can you do this in perl? Any information would be helpful.
Thanks
Thanks