Perl Programming/Keywords/lstat

Previous: log Keywords Next: lt

The lstat keywordEdit

lstat is a function that does the same as the stat function (including setting the special _ filehandle) but stats a symbolic link instead of the file the symbolic link points to. If there are no symbolic links on the system, a normal stat is done instead.

Without EXPRESSION, $_ is stat.

SyntaxEdit

  lstat EXPRESSION
  lstat DIRHANDLE
  lstat

See alsoEdit

Previous: log Keywords Next: lt