in reply to Re^3: getc skips ahead
in thread getc skips ahead

The original post sure sounds like he's doing getc, tell (for debugging), and something else in a loop, and the "270,782,..." are the results of the tell. The question is what is in that "something else" that advances the file pointer, and how getc's different return after binmode makes it work right.

Replies are listed 'Best First'.
Re^5: getc skips ahead
by hv (Prior) on Aug 16, 2004 at 01:19 UTC

    Oops, I misread that entirely, and ignored the fact that the "before" list of numbers were also greater than 255 to boot.

    Hugo