I know this has been asked before but my question is slightly different.
I am parsing a file and, when it reaches a line containing a certain value, I want to pass the filehandle to a sub in a different module and contunue parsing the file from the line I left off at. When the sub is finished I then want to resume in the calling routine from the line the sub finished at.
Is this clear? Can it be done this way or is there a better way?
Many Thanks,
Marc
In reply to Passing filehandle to sub by marctwo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |