Re: unloading zip files with perl install script

2003-02-10 Thread Janek Schleicher
On Sat, 08 Feb 2003 21:37:40 -0800, Patricia Hinman wrote:

 Does anyone know how to use a zip utility in an
 installation script.  I would like to create an
 installation script for a program I've written.   My
 only hurdle is learning how to unpack the zip file. 
 I've heard of gunzip, can I use that with perl?

There's also a CPAN module for zip archiving:
Archive::Zip


Greetings,
Janek


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: unloading zip files with perl install script

2003-02-08 Thread ktb
On Sat, Feb 08, 2003 at 09:37:40PM -0800, Patricia Hinman wrote:
 Does anyone know how to use a zip utility in an
 installation script.  I would like to create an
 installation script for a program I've written.   My
 only hurdle is learning how to unpack the zip file. 
 I've heard of gunzip, can I use that with perl?
 

If you are working in a *nix environment you could call gunzip with 
system -

system(/bin/gunzip $file_archive);
hth,
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: unloading zip files with perl install script

2003-02-08 Thread ktb
On Sat, Feb 08, 2003 at 09:37:40PM -0800, Patricia Hinman wrote:
 Does anyone know how to use a zip utility in an
 installation script.  I would like to create an
 installation script for a program I've written.   My
 only hurdle is learning how to unpack the zip file. 
 I've heard of gunzip, can I use that with perl?
 

I'm sorry I meant to say unzip instead of gunzip.
kent

-- 
To know the truth is to distort the Universe.
  Alfred N. Whitehead (adaptation)

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]