Programming Perl

Programming PerlSearch this book
Previous: 3.2.84 lengthChapter 3
Functions
Next: 3.2.86 listen
 

3.2.85 link

link OLDFILE, NEWFILE

This function creates a new filename linked to the old filename. The function returns 1 for success, 0 otherwise (and puts the error code into $!). See also symlink later in this chapter. This function is unlikely to be implemented on non-UNIX systems.


Previous: 3.2.84 lengthProgramming PerlNext: 3.2.86 listen
3.2.84 lengthBook Index3.2.86 listen