You are viewing the version of this documentation from Perl 5.005_02. View the latest version
$REAL_USER_ID
$UID
$<

The real uid of this process. (Mnemonic: it's the uid you came FROM, if you're running setuid.)