use File::stat; # yes, that's a lower-case s print stat($file)->uid; [download]
In reply to Re: Getting the UID of a file by ysth in thread Getting the UID of a file by Bukowski