in reply to getc skips ahead

What does getc return? If undef, then you need to check $! for IO errors.

Replies are listed 'Best First'.
Re^2: getc skips ahead
by Stephen Toney (Sexton) on Aug 15, 2004 at 14:00 UTC
    You are absolutely right. I should be doing this and will do so. Thanks for the reply. Stephen