Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Unzipping files in 5.8.7 version

by Anonymous Monk
on Jan 28, 2013 at 10:49 UTC ( #1015680=perlquestion: print w/replies, xml ) Need Help??
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi , I was using 5.14 version of perl and in my pgm i have to uncompress .gz files . I used IO:Uncompress:Gunzip module.But in my client machine i am having Perl 5.8.7 and the above mentioned module was not working in that.I have even placed the module and dependencies in lib folder.Is there any method to do uncompressing in Perl 5.8.7?

Replies are listed 'Best First'.
Re: Unzipping files in 5.8.7 version
by marto (Bishop) on Jan 28, 2013 at 10:55 UTC

    "not working" isn't an error report (see How do I post a question effectively?). Copying the files around manually isn't a wise route to take for module installation. From the command line cpan IO:Uncompress:Gunzip will install the module and prerequisites, the README documents the manual installation method along with the module requirements.

    Update: added missing bracket.

Re: Unzipping files in 5.8.7 version
by Mr. Muskrat (Canon) on Jan 28, 2013 at 19:14 UTC

    Properly install IO::Uncompress::Gunzip instead of copying the files into the lib folder because Perl 5.8.x and 5.14.x are not binary compatible.

    Update: Wow, uh, I guess I'm not paying attention today because marto already basically said the same thing.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1015680]
Approved by moritz
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2018-02-24 20:19 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (310 votes). Check out past polls.