The effective uid of this process. For example:
$< = $>; # set real to effective uid($<,$>) = ($>,$<); # swap real and effective uids
You can change both the effective uid and the real uid at the same time by usingPOSIX::setuid()
. Changes to$>
require a check to$!
to detect any possible errors after an attempted change.
$<
and$>
can be swapped only on machines supportingsetreuid()
.
Mnemonic: it's the uid you wentto, if you're running setuid.
Perldoc Browser is maintained by Dan Book (DBOOK). Please contact him via theGitHub issue tracker oremail regarding any issues with the site itself, search, or rendering of documentation.
The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via thePerl issue tracker, themailing list, orIRC to report any issues with the contents or format of the documentation.