Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: unzip

by ghenry (Vicar)
on May 15, 2005 at 10:55 UTC ( #457194=note: print w/replies, xml ) Need Help??

in reply to unzip

Very nice work, but I'm not sure of the point of this quick replacement?

Archive::Zip, is not part of core perl, so you'd have to go and install this. So in my eyes, you might as well install the unzip package itself.

Just a thought.

Walking the road to enlightenment... I found a penguin and a camel on the way.....
Fancy a Just ask!!!

Replies are listed 'Best First'.
Re^2: unzip
by polettix (Vicar) on May 16, 2005 at 08:35 UTC
    Archive::Zip gives you the flexibility to deal with zip files inside your Perl scripts without resorting to a system/fork, which is sometimes useful for me. Moreover, installing Archive::Zip is easier - you don't have to look for it, it's already at your -MCPAN -e shell :)

    But you're right - the actual point is that I was messing a bit with Archive::Zip and Getopt::Std to take confidence and I wanted to share the results. BTW, I think that I'll look for alternatives to Getopt::Std - it does not give me the possibility to replicate unzip's argument schema in toto...

    Thanks for the thought.

    Flavio (perl -e 'print(scalar(reverse("\nti.xittelop\@oivalf")))')

    Don't fool yourself.

      No problem.

      It's always good to play with things, as it's the best way to get them into your head.

      -MCPAN -e shell

      But if you've not run that before, it takes ages, and you've got to wait for everything to compile etc. But a apt-get install unzip is quicker ;-)

      Walking the road to enlightenment... I found a penguin and a camel on the way.....
      Fancy a Just ask!!!
        Excellent golf, in both space (less typing) and time (quicker to the goal) - but I usually run Slackware {grin}

        Flavio (perl -e 'print(scalar(reverse("\nti.xittelop\@oivalf")))')

        Don't fool yourself.
Re^2: unzip
by elwarren (Priest) on May 17, 2005 at 19:10 UTC
    For good or bad, on windows, installing Archive::Zip with PPM slides right through the firewall at work. Installing an exe is forbidden.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://457194]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2023-06-10 02:09 GMT
Find Nodes?
    Voting Booth?
    How often do you go to conferences?

    Results (36 votes). Check out past polls.