in reply to Re^2: Check for an empty file
in thread Check for an empty file

Actually, it returns undef (and sets $!) if the file is non-existent.