...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...
In reply to Re: Here's strange for you!
by almut
in thread Here's strange for you!
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |