J
Justin C
Probably an FAQ. I need to get the user name of who has invoked the
program. perldoc -q user doesn't show anything relevant, but perldoc -q
uid gives $< ... which gives the numerical id of the user. I need to get
the name from this. Is there a straightforward way of doing this or do I
have to grep /etc/passwd? ... or is there another way?
Justin.
program. perldoc -q user doesn't show anything relevant, but perldoc -q
uid gives $< ... which gives the numerical id of the user. I need to get
the name from this. Is there a straightforward way of doing this or do I
have to grep /etc/passwd? ... or is there another way?
Justin.