Have a look at seek. You cannot store the file handle as you desire but the position in the file using tell and later go back using seek.
UPDATE: A few seconds too late I was.
In reply to Re: How to make a copy of filehandle
by hdb
in thread How to make a copy of filehandle
by loituma
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |