in reply to ActivePerl 5.8 Documentation Discrepancy: "Unimplemented" link Function

Per http://search.cpan.org/dist/perl-5.8.8/pod/perlport.pod (which is supposed to be the authoritative source for this sort of information):
link

Not implemented. (Mac OS, MPE/iX, VMS, RISC OS)

Link count not updated because hard links are not quite that hard (They are sort of half-way between hard and soft links). (AmigaOS)

Hard links are implemented on Win32 (Windows NT and Windows 2000) under NTFS only.

  • Comment on Re: ActivePerl 5.8 Documentation Discrepancy: "Unimplemented" link Function

Replies are listed 'Best First'.
Re^2: ActivePerl 5.8 Documentation Discrepancy: "Unimplemented" link Function
by Jim (Curate) on May 26, 2008 at 05:08 UTC
    ysth++!

    "Hard links are implemented on Win32...under NTFS only" is good enough for me and makes perfect sense because only NTFS supports hard links; FAT doesn't. Thank you for pointing me to the better documentation in this case, FUNCTION IMPLEMENTATIONS. It helpfully guided me to do this with Config:

    C:\>perl -MConfig -le "print $Config{d_link}" define C:\>perl -MConfig -le "print Config::config_sh()" | grep link d_link='define' d_readlink='undef' d_symlink='undef' issymlink='' ld='link' C:\>
    This is arguably the very best documentation of what my Perl can do.

    I'll be back later with questions about how to create and manage multiple processes in Perl under Win32. For now, I'm off to study Mr. Peabody Explains fork() and a few perldoc pages.

    Thanks!

    Jim