Dear Monks,
I am working on WinXP, and have questions about the link() function, as it has not much description on perldoc -f
First is a such case :
I create "a.txt"
I link "b.txt" via "a.txt";
now if I edit "b.txt", the content of "a.txt" changed too, vice versa
Then, I pick a "x.jpg" and then linked by "y.jpg". I edit either x.jpg or y.jpg, they wont sync like a-b.txt did.
Of cause, all testing files are on the same drive ( same dir too ).
Questions are :
1. Which one is the expected result ? Should the linked files content sync or not sync ?
2. Is link() only work on text file or binary, or both?
3. Is link() like other hard link, only work on the same drive ? Or it works on the same hard disk ? or all harddisk ? Or any valid path ?
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.