On the perlvar
man page:
$ <The real uid of this process.
So $<
returns a real, numeric user id. This is not the username of the user, but the number assigned by the system administrator. For example, if your username was aglassman
and mine, thb
, on the same system, then your UID may be 1005 and mine, 1006, depending on which of our accounts sysadmin was created. On a Linux platform, see the /etc/passwd
for your system UIDs.
source share