in reply to Passing filehandle to sub

Quick answer. The current line number for the file you're reading is stored in $. You can grab that and then use seek to set the postion of the file handle when you come back to your calling sub.
Update: I answered that too quickly. You want to use tell to get the position to use with the seek.