Re: how to reinvent "tar xvfz" with perl?
- From: rob.dixon@xxxxxxx (Rob Dixon)
- Date: Wed, 23 Jul 2008 01:45:09 +0100
Siegfried Heintze (Aditi) wrote:
I need to automate some stuff and decided to use perl.
I have cygwin perl and activestate perl.
Below is my attempt. It does not work because I don't have perlIO::gzip installed.
When I tried
/bin/Perl -MCPAN -e 'install PerlIO::gzip'
The tests fail and it won't install.
When I try activestate perl's ppm.bat I don't see an any modules when I search for gzip (except for one called CGI-WebGzip which did not look like what I wanted).
Can someone help me reinvent "tar xvfz"?
Run ppm at the command prompt and do
rep tcool http://ppm.tcool.org/server/ppmserver.cgi?urn:PPMServer
and
rep up tcool
That will give you a new repository with many useful modules. And it has
PerlIO::gzip.
HTH,
Rob
.
- References:
- how to reinvent "tar xvfz" with perl?
- From: Siegfried Heintze
- how to reinvent "tar xvfz" with perl?
- Prev by Date: how to reinvent "tar xvfz" with perl?
- Next by Date: Re: DBI error
- Previous by thread: how to reinvent "tar xvfz" with perl?
- Index(es):
Relevant Pages
|