in reply to perl program showinf errors
A possible fix: change use POSIX; to use POSIX ();. That way nothing is imported, and prototype mismatches are avoided. You can apply the same fix to the loading of File::stat too.