Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
We don't bite newbies here... much
 
PerlMonks  

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?

Comment on Unzipping files in 5.8.7 version
Re: Unzipping files in 5.8.7 version
by marto (Chancellor) 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 (Abbot) 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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1015680]
Approved by moritz
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2014-04-20 20:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (487 votes), past polls