You are viewing the version of this documentation from Perl 5.005. View the latest version

The effective uid of this process. Example:

$< = $>;            # set real to effective uid
($<,$>) = ($>,$<);  # swap real and effective uid

(Mnemonic: it's the uid you went TO, if you're running setuid.) Note: "$<" and "$>" can be swapped only on machines supporting setreuid().