Before reading from DATA, use tell() to get the current file postion, then seek to there when you want to rewind the file handle.
Dave.
In reply to Re: BoSelecta __DATA__ and rewind.
by dave_the_m
in thread BoSelecta __DATA__ and rewind.
by blackadder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |