I wrote a perl script that opens up a file (input file) reads one line , parses the values, then returns the values via an http response as xml format, example
<address>3000 lane ave</address>
each line in the input file I'm reading from corresponds to one record. I can get the script to execute via the web browser, except I need to read the next line upon subsequent calls to the perl script, for example
if that is called again i want it to read the next line (record) in the data file.
Do I need the script to be running continously to preserve a counter variable so I know which line to read?