Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: lengthChapter 5
Function Reference
Next: Reference: listen
 

link

link oldfile, newfile

Creates a Unix hard link from a new filename, newfile, to an existing file, oldfile, on the same filesystem. The function returns 1 for success, 0 otherwise (and puts the error code into $!). This function is unlikely to be implemented on non-Unix systems. See also symlink.


Previous: Reference: lengthPerl in a NutshellNext: Reference: listen
Reference: lengthBook IndexReference: listen

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.