in reply to Here's strange for you!
...seek & read have now succeeded. Just because you printed the value of $offset.
Do you get the same effect when you avoid implicit stringification (and the associated caching of the PV value — do a Devel::Peek dump before and after the print) by writing
print $offset, "\n";
instead of
print "$offset\n";
Don't really know why this would influence seek's behaviour, but for the moment that's the only normal side effect of your print that I can think of...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Here's strange for you!
by BrowserUk (Patriarch) on Apr 13, 2010 at 17:29 UTC | |
by ikegami (Patriarch) on Apr 13, 2010 at 18:05 UTC |