Thanks very much John.

John W. Krahn wrote:

Tony Frasketi wrote:
Is there an ASCII equivalent to the numeric value UID returned by
stat($filename)[4] and if so is there a function to aquire the ASCII
value... Also is the UID  related to the owner of the file as shown in
the directory display ls -al in Unix?

If UID and file ownership is not, however related, is there a function
to obtain the file's owner name in ASCII format?


my $user = getpwuid( (stat $filename)[4] );


perldoc -f getpwuid


John

Reply via email to