Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: substrChapter 5
Function Reference
Next: Reference: syscall
 

symlink

symlink oldfile, newfile

Creates a new filename symbolically linked to the old filename. The function returns 1 for success, 0 otherwise. On systems that don't support symbolic links, it produces a fatal error at runtime. Be careful if you supply a relative symbolic link, since itll be interpreted relative to the location of the symbolic link itself, not your current working directory. See also link and readlink.


Previous: Reference: substrPerl in a NutshellNext: Reference: syscall
Reference: substrBook IndexReference: syscall