graff:
What you got is precisely what I expected for me too. But in my case when I run the script, it does everything EXCEPT it did NOT create the "test" and "qa" directories as it did for you. In my case it was just ignoring whatever folder name I was passing as part of the name.
In which version of ActivePerl did you run this?
It always used to work for me, but when I switched to a new machine and installed new Archive::Tar, the "folder" information isn't getting added to the archive file. Which means, when I add files to TAR as I show in the script, it adds all of them to the root, completely ignoring the folder info I am passing to "add_data" method.
Please let me know which version you ran the script successfully under?
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.