Some cursory source scanning reveals this module should carp if it is unable to read symlinks. And the author notes in the CPAN POD that several bugs with symlinks have been 'fixed' without specifying what exactly was the problem. It seems Archive::Tar is an perl implementation rather than a wrapper around tar , as such maybe its not surprising that some features are missing, though I would call this a pretty serious one.

Talking out of my hat , the case may be that when putting the symlink entry into the tarfile, the symlink is opened and sysread ... which I guess depending on the underlying IO layer - would be reading the contents of the linked file.

Update: heezy Can you update your Archive::Tar , 0.07 is way down the list of revisions to this module, the symlink problem I speak of above is listed in the revisions for 0.07 but the most current version is 0.23


I can't believe it's not psellchecked

In reply to Re: symlinks in Archive::Tar? by submersible_toaster
in thread symlinks in Archive::Tar? by heezy

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.