in reply to Re: problem using seek on some systems
in thread problem using seek on some systems

There is no guarantee that -s and seek use identical values. On Unix, that is usually the case. Other places, not as much. If you want to get the seek position of the end of the file (portably), use seek then tell.

- tye        

Replies are listed 'Best First'.
Re^3: problem using seek on some systems (portable)
by Anonymous Monk on Dec 06, 2006 at 23:32 UTC

    Could you give us an example of when this might not be the case?

    Is this a units thing? unicode -v- bytes. Or a platform line ending thing?