On 4/7/06, Irfan J Sayed <[EMAIL PROTECTED]> wrote: snip > I downloaded the zip file from CPAN > > But i am not getting one point > > which command i should use in perl . i mean what is the syntax. > which module i should choose from that zip file after unzipping. (zip.pm ?) > snip
The compressed file for the module is http://search.cpan.org/CPAN/authors/id/S/SM/SMPETERS/Archive-Zip-1.16.tar.gz You will need to download that and nmake http://download.microsoft.com/download/vc15/patch/1.52/w95/en-us/nmake15.exe run nmake15.exe This will create a file named NMAKE.EXE Put this file somewhere in your PATH Decompress Archive-Zip-1.16.tar.gz (winzip should be able to do it) open a cmd shell and change directory to uncompress Archive-Zip directory type "perl Makefile.pl" (assuming perl is in your PATH) type "nmake" type "nmake test" (this is an optional step, but it is a good idea) type "nmake install" (you may need admin privileges) If everything went as planned the module will now be installed. The documentation for the module can be found here: http://search.cpan.org/~smpeters/Archive-Zip-1.16/lib/Archive/Zip.pod The basics (cribbed from the SYNOPSIS on that page) are: use Archive::Zip qw( :ERROR_CODES :CONSTANTS ); my $zip = Archive::Zip->new(); $zip->addDirectory( 'D:\\backup' ); die 'write error' unless $zip->writeToFileNamed( 'd:\\backup.zip' ) == AZ_OK; -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>