Hi Josimar, 

Have a look at perldoc -f stat and getpwuid.
You should afterwards transform the $uid into the literal name of the user
using /etc/passwd.


try : 
$Uid = (stat('c:\Config.sys'))[4];
$UserName =  ( getpwuid( $Uid ))[0];



Michel

-----Message d'origine-----
De: Josimar Nunes de Oliveira [mailto:[EMAIL PROTECTED]
Date: lundi 22 septembre 2003 19:24
À: Perl Beginners
Objet: owner's name of a file


Hello,

How to get the owner's name of a file in a mapped drive from novell server?
My OS is W2K.

Thanks,


Josimar



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to