in reply to Problem with sysseek

The sysseek documentation says:

Returns the new position, or the undefined value on failure. A position of zero is returned as the string "0 but true"; thus sysseek returns true on success and false on failure, yet you can still easily determine the new position.

DWIM is Perl's answer to Gödel