instead of the seek()command rewinding to the top of the __DATA__! its rewinding half way up the actual code instead!!!why would it rewind to the top of __DATA__? seek handle,0,0 means seek to the beginning of the file, and __DATA__ is not the beginning of the file. If you read perldoc -f seek you'll see the name of a related function which you can use to learn where to seek to.
In reply to Re: BoSelecta __DATA__ and rewind.
by PodMaster
in thread BoSelecta __DATA__ and rewind.
by blackadder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |