If all a user needs to do is extract files individually or collectively from a container and place them into the filesystem--which may well be the requirement for 80% of the uses of the containers--he doesn't need to use the API!

I'm not so sure I agree with that. What if the user wants to extract files based on complex criteria? What if the user wants to automatically extract files received via web upload forms? What if the user wants to extract the files from many archives at the same time?

Certainly, some of these things can be solved by shell scripts or otherwise, but doesn't Perl sound like an attractive solution too? Having an API that makes these things simple, while still having all the power of Perl around it, seems like a benefit to me.

Added a few minutes later: sorry about jumping in so deeply into the thread. I thought it would be useful to add to the conversation. But now I wonder if anyone will even see it. =^)


In reply to Re^10: Should Modules Do I/O? by revdiablo
in thread Should Modules Do I/O? by pboin

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.