You are viewing the version of this documentation from Perl 5.8.0. View the latest version
lstat EXPR
lstat

Does the same thing as the stat function (including setting the special _ filehandle) but stats a symbolic link instead of the file the symbolic link points to. If symbolic links are unimplemented on your system, a normal stat is done.

If EXPR is omitted, stats $_.