Perl-Toolchain-Gang / CPAN-Common-Index

Common library for searching CPAN indexes
8 stars 10 forks source link

fall back to gzip command if IO::Uncompress::Gunzip is not available #18

Closed skaji closed 7 years ago

skaji commented 7 years ago

Address #16

This is option a3 described in #16. That is, try to load IO::Uncompress::Gunzip first, and if it is not available, try to use external gzip command with File::Which and IPC::Run3.

@xdg You suggested option a1, but I think it would be nice to fall back to external gzip command. Feel free to reject this pull request. Then I will raise another pull request for option a1 or some other options.

Note that this pull request introduces a new dependencies File::Which and IPC::Run3.

xdg commented 7 years ago

I don't like this approach. Let's continue discussing on issue #16.