Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Win32 (Score:2, Interesting)

    Will it work on Win32?

    The reason I ask, is because the old Archive::Tar used fcntl(), to duplicate a filehandle for example, which works on Unix etc., but not on Win32. That's why Win32 users were stuck with version 0.072.

    I hope life will get better, for these poor marginalised programmers, as well.

    • Re:Win32 (Score:2, Informative)

      The short answer would be 'yes, it will work on win32 now'.

      You don't want the long answer ;)

      • But I do! I often wondered: why are these file handles duped, in the first place?

        Oh, and one more thing... I often find people (on Perlmonks, for example) wish to use a tied handle, or another non-standard handle, with this module, and this module rejects that, for the same reason, really. Will that work, now, too?

        • It's not supported as a filehandle as such, but there's other ways to do it ($tar->add_data is probably your friend).

          The reason for this is simple -- to keep everything managable, I use IO::File and IO::Zlib under the hood, which saves a lot of overhead and keeps for a standard interface.
          So if those modules don't supported tied filehandles, neither will Archive::Tar.