in reply to BoSelecta __DATA__ and rewind.
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: BoSelecta __DATA__ and rewind.
by Anonymous Monk on Oct 05, 2004 at 13:17 UTC |