Jump to content

Perl Programming/Keywords/readlink

From Wikibooks, open books for an open world
Previous: readline Keywords Next: readpipe

The readline keyword

[edit | edit source]

readlink is a function that returns the value of a symbolic link. If such links are not implemented, it raises an exception. If EXPRESSION is not passed, $_ is used instead. If there is a system error, returns the undef and sets $! (errno).

Syntax

[edit | edit source]
  read EXPRESSION
  read
Previous: readline Keywords Next: readpipe