Eric Walker wrote: > Hello all > I want to us the variable $< to get the REAL UID of the perl program > that is running. How can I get the users name from that number it gives > me?
the getpwuid function in scalar context gives you the user of the uid: [panda]$ perl -le 'print scalar getpwuid($<)' david [panda]$ perldoc -f getpwuid david -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]