Have you tried this?

perlport says

link OLDFILE,NEWFILE

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.

I tried it, and after changing the original, the changes aren't reflected. Looks like it's just a plain-old copy.

I believe NTFS supports this (cause I read http://www.hlm.inc.ru/ ), but I don't believe perl(activeperl5.6 at least) implements it.

update: some links
Securiteam: [NT] NTFS Hard Links Subvert Auditing
CreateHardlink

update: Well, after looking through my \perl directory, I do find `CreateHardlink' in perl56.dll, so I don't know what's up. I still believe the implementation must be off, cause I create a file, I create a link to it using perl, I append something to , view the file, view the link, and they're different.

update: Whoa, after installing HardLinkMagic, and creating another link to my test file, it worked. This is very bizzare, veeeeeery bizzare.

update: your tests run fine now. I just dragged the files/hardlinks over to notepad, and it just didn't work the first time around. This was just weird (yes I do have NTFS, i checked ;D).

____________________________________________________
** The Third rule of perl club is a statement of fact: pod is sexy.


In reply to Re: Re: Creating shortcuts by PodMaster
in thread Creating shortcuts by raveguy2k

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.